Home
last modified time | relevance | path

Searched refs:sessions (Results 1 – 25 of 128) sorted by relevance

123456

/external/jetty/src/java/org/eclipse/jetty/server/session/
DHashSessionIdManager.java71 ArrayList<HttpSession> sessions = new ArrayList<HttpSession>(); in getSession() local
79 sessions.add(session); in getSession()
82 return sessions; in getSession()
154 Set<WeakReference<HttpSession>> sessions = _sessions.get(id); in addSession() local
155 if (sessions==null) in addSession()
157 sessions=new HashSet<WeakReference<HttpSession>>(); in addSession()
158 _sessions.put(id,sessions); in addSession()
160 sessions.add(ref); in addSession()
174 Collection<WeakReference<HttpSession>> sessions = _sessions.get(id); in removeSession() local
175 if (sessions!=null) in removeSession()
[all …]
DHashSessionManager.java160 int sessions=super.getSessions(); in getSessions() local
163 if (_sessions.size()!=sessions) in getSessions()
164 __log.warn("sessions: "+_sessions.size()+"!="+sessions); in getSessions()
166 return sessions; in getSessions()
373 Map<String,HashedSession> sessions=_sessions; in getSession() local
374 if (sessions==null) in getSession()
377 HashedSession session = sessions.get(idInCluster); in getSession()
395 ArrayList<HashedSession> sessions=new ArrayList<HashedSession>(_sessions.values()); in invalidateSessions() local
397 while (sessions.size()>0 && loop-->0) in invalidateSessions()
403 for (HashedSession session : sessions) in invalidateSessions()
[all …]
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_sessions_test.py3 from webapp2_extras import sessions
15 factory = sessions.SecureCookieSessionFactory
21 self.assertRaises(Exception, sessions.SessionStore, req)
27 store = sessions.SessionStore(req, config={
42 store = sessions.SessionStore(req)
61 store = sessions.SessionStore(req)
78 store = sessions.SessionStore(req)
94 store = sessions.SessionStore(req)
109 store = sessions.SessionStore(req)
130 store = sessions.SessionStore(req)
[all …]
Dextras_appengine_sessions_memcache_test.py3 from webapp2_extras import sessions
25 store = sessions.SessionStore(req)
44 store = sessions.SessionStore(req)
61 store = sessions.SessionStore(req)
75 store = sessions.SessionStore(req)
90 store = sessions.SessionStore(req)
111 store = sessions.SessionStore(req)
129 store = sessions.SessionStore(req)
Dextras_appengine_sessions_ndb_test.py6 from webapp2_extras import sessions
32 store = sessions.SessionStore(req)
51 store = sessions.SessionStore(req)
68 store = sessions.SessionStore(req)
85 store = sessions.SessionStore(req)
99 store = sessions.SessionStore(req)
114 store = sessions.SessionStore(req)
135 store = sessions.SessionStore(req)
153 store = sessions.SessionStore(req)
/external/conscrypt/src/main/java/org/conscrypt/
DAbstractSessionContext.java55 private final Map<ByteArray, SSLSession> sessions field in AbstractSessionContext
82 synchronized (sessions) { in sessionIterator()
83 SSLSession[] array = sessions.values().toArray( in sessionIterator()
84 new SSLSession[sessions.size()]); in sessionIterator()
137 synchronized (sessions) { in trimToSize()
138 int size = sessions.size(); in trimToSize()
141 Iterator<SSLSession> i = sessions.values().iterator(); in trimToSize()
159 synchronized (sessions) { in setSessionTimeout()
160 Iterator<SSLSession> i = sessions.values().iterator(); in setSessionTimeout()
289 synchronized (sessions) { in getSession()
[all …]
/external/boringssl/src/ssl/
Dssl_test.cc939 explicit ScopedSessionVector(std::vector<SSL_SESSION*> *sessions) in ScopedSessionVector() argument
940 : sessions_(sessions) {} in ScopedSessionVector()
960 std::vector<SSL_SESSION*> sessions; in TestInternalSessionCache() local
961 ScopedSessionVector cleanup(&sessions); in TestInternalSessionCache()
967 sessions.push_back(session.release()); in TestInternalSessionCache()
973 for (SSL_SESSION *session : sessions) { in TestInternalSessionCache()
981 expected.push_back(sessions[9]); in TestInternalSessionCache()
982 expected.push_back(sessions[8]); in TestInternalSessionCache()
983 expected.push_back(sessions[7]); in TestInternalSessionCache()
984 expected.push_back(sessions[6]); in TestInternalSessionCache()
[all …]
/external/libmicrohttpd/doc/chapters/
Dsessions.inc1 This chapter discusses how one should manage sessions, that is, share state between multiple
5 many concurrent sessions at the same time.
47 server must thus discard inactive sessions at some point. Our example
48 implements this by discarding inactive sessions after a certain amount
50 of active sessions. Which bounds are used for idle sessions or the
51 total number of sessions obviously depends largely on the type of
59 as the example @code{sessions.c}.
62 look up sessions and to expire old sessions. Using a hash table and a
64 sessions is expected.
70 associated with long-time idle sessions (where the business process
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/appengine/
Dsessions_memcache.py13 from webapp2_extras import sessions
16 class MemcacheSessionFactory(sessions.CustomBackendSessionFactory):
40 return sessions.SessionDict(self, data=data)
43 return sessions.SessionDict(self, new=True)
Dsessions_ndb.py46 from webapp2_extras import sessions
80 class DatastoreSessionFactory(sessions.CustomBackendSessionFactory):
106 return sessions.SessionDict(self, data=data)
109 return sessions.SessionDict(self, new=True)
/external/autotest/client/virt/tests/
Dstress_boot.py27 sessions = [session]
41 sessions.append(curr_vm.wait_for_login(timeout=login_timeout))
45 for i, se in enumerate(sessions):
51 for se in sessions:
Dwhql_submission.py24 sessions = []
28 sessions.append(vms[-1].wait_for_login(timeout=login_timeout))
60 sessions[0].prompt,
61 sessions[0].linesep)
62 server_session.set_status_test_command(sessions[0].status_test_command)
67 client_names = [session.cmd_output(cmd).strip() for session in sessions]
77 sessions = virt_utils.parallel((vm.reboot, (session,))
78 for vm, session in zip(vms, sessions))
89 for session in sessions:
/external/chromium-trace/catapult/third_party/webapp2/docs/guide/
Dextras.rst14 :ref:`api.webapp2_extras.mako` and :ref:`api.webapp2_extras.sessions`) use configuration
19 for :ref:`api.webapp2_extras.sessions`. Here is an example that sets the ``secret_key``
23 from webapp2_extras import sessions
28 self.session_store = sessions.get_store(request=self.request)
34 # Save all sessions.
52 config['webapp2_extras.sessions'] = {
/external/jetty/src/resources/org/eclipse/jetty/server/session/jmx/
DAbstractSessionManager-mbean.properties11 sessionsTotal: The total number of sessions
14 sessions: Current instantaneous number of sessions key
15 sessionsMax: Maximum number of simultaneous sessions since statsReset() was called
17 sessionTimeTotal: Total amount of time in seconds sessions remained valid since statsReset() was ca…
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/
DSessionsPageTest.java84 final List<SessionInfo> sessions = new ArrayList<SessionInfo>(); in testSessionListContent() local
85 sessions.add(new SessionInfo("Session-A", 0, 0)); in testSessionListContent()
86 sessions.add(new SessionInfo("Session-B", 0, 0)); in testSessionListContent()
87 sessions.add(new SessionInfo("Session-C", 0, 0)); in testSessionListContent()
88 final SessionsPage page = new SessionsPage(sessions, noExecutionData, in testSessionListContent()
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/
Dsessions.rst1 .. _api.webapp2_extras.sessions:
5 .. module:: webapp2_extras.sessions
12 The session store can provide multiple sessions using different keys,
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 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/
DAbstractFtpServer.java98 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/
DAbstractFtpServer.java119 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-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 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/jacoco/org.jacoco.report.test/src/org/jacoco/report/
DReportStructureTestDriver.java39 private final List<SessionInfo> sessions = Collections.emptyList(); field in ReportStructureTestDriver
97 reportVisitor.visitInfo(sessions, executionData); in sendNestedGroups()
106 reportVisitor.visitInfo(sessions, executionData); in sendGroup()
118 reportVisitor.visitInfo(sessions, executionData); in sendBundle()
/external/conscrypt/src/test/java/org/conscrypt/
DClientSessionContextTest.java98 Set<SSLSession> sessions = new HashSet<SSLSession>(); in assertSessionContextContents() local
102 sessions.add(context.getSession(id)); in assertSessionContextContents()
106 for (SSLSession s : sessions) { in assertSessionContextContents()
109 assertEquals(expected, sessions); in assertSessionContextContents()
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Dsessions.py310 self.sessions = {}
335 if name not in self.sessions:
336 self.sessions[name] = factory(name, self)
338 return self.sessions[name]
419 for session in self.sessions.values():
/external/libmicrohttpd/doc/
Dlibmicrohttpd-tutorial.texi106 @include chapters/sessions.inc
129 * sessions.c::
169 @node sessions.c
170 @section sessions.c
172 @verbatiminclude examples/sessions.c
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/server/
DAbstractFtpServer.java98 private Map sessions = new HashMap(); field in AbstractFtpServer
159 sessions.put(session, sessionInfo); in run()
301 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
333 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()

123456