/external/tensorflow/tensorflow/python/training/ |
D | sync_replicas_optimizer_test.py | 36 sessions = [] 80 sessions.append(session) 84 return sessions, graphs, train_ops 101 sessions, graphs, train_ops = get_workers(num_workers, 108 self.assertAllEqual(0.0, sessions[0].run(var_0_g_0)) 109 self.assertAllEqual(1.0, sessions[0].run(var_1_g_0)) 110 self.assertAllEqual(0, sessions[0].run(local_step_0)) 120 self.assertAllEqual(0, sessions[1].run(global_step)) 121 self.assertAllEqual(0, sessions[1].run(local_step_1)) 122 self.assertAllClose([[3.0], [4.0]], sessions[1].run(var_sparse_g_1)) [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | ClientSessionContext.java | 103 for (List<NativeSslSession> sessions : sessionsByHostAndPort.values()) { in size() 104 size += sessions.size(); in size() 125 List<NativeSslSession> sessions = sessionsByHostAndPort.get(key); in getSession() local 126 if (sessions != null && sessions.size() > 0) { in getSession() 127 session = sessions.get(0); in getSession() 153 List<NativeSslSession> sessions = sessionsByHostAndPort.get(key); in putSession() local 154 if (sessions == null) { in putSession() 155 sessions = new ArrayList<NativeSslSession>(); in putSession() 156 sessionsByHostAndPort.put(key, sessions); in putSession() 161 if (sessions.size() > 0 && sessions.get(0).isSingleUse() != session.isSingleUse()) { in putSession() [all …]
|
D | AbstractSessionContext.java | 44 private final Map<ByteArray, NativeSslSession> sessions = field in AbstractSessionContext 77 synchronized (sessions) { in getIds() 78 iter = Arrays.asList(sessions.values().toArray(new NativeSslSession[0])) in getIds() 123 synchronized (sessions) { in getSession() 124 session = sessions.get(key); in getSession() 148 synchronized (sessions) { in setSessionTimeout() 160 Iterator<NativeSslSession> i = sessions.values().iterator(); in setSessionTimeout() 208 synchronized (sessions) { in cacheSession() 210 if (sessions.containsKey(key)) { in cacheSession() 211 removeSession(sessions.get(key)); in cacheSession() [all …]
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | AbstractSessionContext.java | 45 private final Map<ByteArray, NativeSslSession> sessions = field in AbstractSessionContext 78 synchronized (sessions) { in getIds() 79 iter = Arrays.asList(sessions.values().toArray(new NativeSslSession[0])).iterator(); in getIds() 123 synchronized (sessions) { in getSession() 124 session = sessions.get(key); in getSession() 148 synchronized (sessions) { in setSessionTimeout() 160 Iterator<NativeSslSession> i = sessions.values().iterator(); in setSessionTimeout() 208 synchronized (sessions) { in cacheSession() 210 if (sessions.containsKey(key)) { in cacheSession() 211 removeSession(sessions.get(key)); in cacheSession() [all …]
|
D | ClientSessionContext.java | 109 for (List<NativeSslSession> sessions : sessionsByHostAndPort.values()) { in size() 110 size += sessions.size(); in size() 132 List<NativeSslSession> sessions = sessionsByHostAndPort.get(key); in getSession() local 133 if (sessions != null && sessions.size() > 0) { in getSession() 134 session = sessions.get(0); in getSession() 160 List<NativeSslSession> sessions = sessionsByHostAndPort.get(key); in putSession() local 161 if (sessions == null) { in putSession() 162 sessions = new ArrayList<NativeSslSession>(); in putSession() 163 sessionsByHostAndPort.put(key, sessions); in putSession() 168 if (sessions.size() > 0 && sessions.get(0).isSingleUse() != session.isSingleUse()) { in putSession() [all …]
|
/external/libwebsockets/READMEs/ |
D | README.generic-sessions.md | 1 Notes about generic-sessions Plugin 13 The generic-sessions protocol plugin provides cookie-based login 21 state information from generic-sessions, ie, which user the client is 22 authenticated as. Everything underneath is managed in generic-sessions. 29 - sqlite3 used at the server to manage active sessions and users 31 - defaults to creating anonymous sessions with no user associated 99 In the mounts using protocol-generic-sessions, a cookie is maintained against any requests; if no c… 127 "origin": "file:///usr/share/libwebsockets-test-server/generic-sessions", 129 "default": "generic-sessions-login-example.html", 137 "origin": "file:///usr/share/libwebsockets-test-server/generic-sessions/needauth", [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/ |
D | test_state.cc | 77 lh_SSL_SESSION_doall_arg(src->sessions, ssl_ctx_add_session, dst); in CopySessions() 96 std::vector<SSL_SESSION *> sessions; in SerializeContextState() local 97 lh_SSL_SESSION_doall_arg(ctx->sessions, push_session, &sessions); in SerializeContextState() 98 for (const auto &sess : sessions) { in SerializeContextState() 107 CBS in, sessions, ticket_keys; in DeserializeContextState() local 116 !CBS_get_asn1(&in, &sessions, CBS_ASN1_SEQUENCE)) { in DeserializeContextState() 119 while (CBS_len(&sessions)) { in DeserializeContextState() 121 SSL_SESSION_parse(&sessions, ctx->x509_method, ctx->pool); in DeserializeContextState()
|
/external/boringssl/src/ssl/test/ |
D | test_state.cc | 77 lh_SSL_SESSION_doall_arg(src->sessions, ssl_ctx_add_session, dst); in CopySessions() 96 std::vector<SSL_SESSION *> sessions; in SerializeContextState() local 97 lh_SSL_SESSION_doall_arg(ctx->sessions, push_session, &sessions); in SerializeContextState() 98 for (const auto &sess : sessions) { in SerializeContextState() 107 CBS in, sessions, ticket_keys; in DeserializeContextState() local 116 !CBS_get_asn1(&in, &sessions, CBS_ASN1_SEQUENCE)) { in DeserializeContextState() 119 while (CBS_len(&sessions)) { in DeserializeContextState() 121 SSL_SESSION_parse(&sessions, ctx->x509_method, ctx->pool); in DeserializeContextState()
|
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/ |
D | B25787055.output | 4 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 8 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 13 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 17 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 20 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s",
|
D | B25787055.input | 6 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 11 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 17 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 22 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s", 26 "Scratch Session Cleaner exiting. Number of deleted sessions: %d, names: %s",
|
/external/openssh/regress/ |
D | putty-kex.sh | 13 cp ${OBJ}/.putty/sessions/localhost_proxy \ 14 ${OBJ}/.putty/sessions/kex_$k 15 echo "KEX=$k" >> ${OBJ}/.putty/sessions/kex_$k
|
D | putty-ciphers.sh | 13 cp ${OBJ}/.putty/sessions/localhost_proxy \ 14 ${OBJ}/.putty/sessions/cipher_$c 15 echo "Cipher=$c" >> ${OBJ}/.putty/sessions/cipher_$c
|
D | putty-transfer.sh | 20 cp ${OBJ}/.putty/sessions/localhost_proxy \ 21 ${OBJ}/.putty/sessions/compression_$c 22 echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$k
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | DefaultPlaybackSessionManager.java | 51 private final HashMap<String, SessionDescriptor> sessions; field in DefaultPlaybackSessionManager 75 sessions = new HashMap<>(); in DefaultPlaybackSessionManager() 93 SessionDescriptor sessionDescriptor = sessions.get(sessionId); in belongsToSession() 104 @Nullable SessionDescriptor currentSession = sessions.get(currentSessionId); in updateSessions() 138 Iterator<SessionDescriptor> iterator = sessions.values().iterator(); 162 Iterator<SessionDescriptor> iterator = sessions.values().iterator(); 178 @Nullable SessionDescriptor previousSessionDescriptor = sessions.get(currentSessionId); 208 Iterator<SessionDescriptor> iterator = sessions.values().iterator(); 227 for (SessionDescriptor sessionDescriptor : sessions.values()) { 245 sessions.put(sessionId, bestMatch);
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/ |
D | SessionsPageTest.java | 85 final List<SessionInfo> sessions = new ArrayList<SessionInfo>(); in testSessionListContent() local 86 sessions.add(new SessionInfo("Session-A", 0, 0)); in testSessionListContent() 87 sessions.add(new SessionInfo("Session-B", 0, 0)); in testSessionListContent() 88 sessions.add(new SessionInfo("Session-C", 0, 0)); in testSessionListContent() 89 final SessionsPage page = new SessionsPage(sessions, noExecutionData, in testSessionListContent()
|
/external/tensorflow/tensorflow/core/profiler/rpc/client/ |
D | remote_profiler_session_manager_test.cc | 82 auto sessions = in TEST() local 85 std::vector<Response> responses = sessions->WaitForCompletion(); in TEST() 115 auto sessions = in TEST() local 118 std::vector<Response> responses = sessions->WaitForCompletion(); in TEST() 148 auto sessions = in TEST() local 151 std::vector<Response> responses = sessions->WaitForCompletion(); in TEST()
|
/external/perfetto/src/perfetto_cmd/ |
D | rate_limiter.cc | 220 std::vector<PerSessionState>* sessions = state.mutable_session_state(); in SaveState() local 221 std::sort(sessions->begin(), sessions->end(), in SaveState() 225 if (sessions->size() > kMaxSessionsInHistory) { in SaveState() 226 sessions->resize(kMaxSessionsInHistory); in SaveState()
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 178 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 178 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in run() 180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 119 private Map sessions = new HashMap(); field in AbstractFtpServer 180 sessions.put(session, sessionInfo); in run() 199 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 201 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 326 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in isShutdown()
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 178 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
|
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/extended/ |
D | ExtendedMockito.java | 70 private static ArrayList<StaticMockitoSession> sessions = new ArrayList<>(); field in ExtendedMockito 164 for (StaticMockitoSession session : sessions) { in staticMockMarker() 182 for (StaticMockitoSession session : sessions) { in staticMockMarker() 433 sessions.add(session); in addSession() 442 sessions.remove(session); in removeSession()
|
/external/bcc/examples/networking/http_filter/ |
D | http-parse-complete.c | 22 BPF_HASH(sessions, struct Key, struct Leaf, 1024); 134 struct Leaf * lookup_leaf = sessions.lookup(&key); in http_filter() 144 sessions.lookup_or_init(&key,&zero); in http_filter()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | ReportStructureTestDriver.java | 41 private final List<SessionInfo> sessions = Collections.emptyList(); field in ReportStructureTestDriver 117 reportVisitor.visitInfo(sessions, executionData); in sendNestedGroups() 126 reportVisitor.visitInfo(sessions, executionData); in sendGroup() 138 reportVisitor.visitInfo(sessions, executionData); in sendBundle()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/ |
D | DefaultDrmSessionManager.java | 248 private final List<DefaultDrmSession> sessions; field in DefaultDrmSessionManager 363 sessions = new ArrayList<>(); in DefaultDrmSessionManager() 392 Assertions.checkState(sessions.isEmpty()); in setMode() 470 sessions.add(placeholderDrmSession); in acquirePlaceholderSession() 505 for (DefaultDrmSession existingSession : sessions) { in acquireSession() 519 sessions.add(session); in acquireSession() 568 sessions.remove(drmSession); in onSessionReleased() 623 for (DefaultDrmSession session : sessions) { in handleMessage()
|