/dports/devel/monotone/monotone-1.1/contrib/ |
H A D | monotone-run-script-post-netsync.lua | 33 _sessions = {} 39 _sessions[session_id] = 0 43 if _sessions[session_id] == nil then 51 _sessions[session_id] = _sessions[session_id] + 1 58 if _sessions[session_id] == nil then 65 _sessions[session_id] = _sessions[session_id] + 1 70 if _sessions[session_id] == nil then 78 if _sessions[session_id] == 0 then 83 _sessions[session_id] = nil
|
/dports/x11/konsole/konsole-21.12.3/src/session/ |
H A D | SessionListModel.cpp | 25 , _sessions(QList<Session *>()) in SessionListModel() 32 _sessions = sessions; in setSessions() 48 Q_ASSERT(row >= 0 && row < _sessions.count()); in data() 55 QString title = _sessions[row]->title(Session::DisplayedTitleRole); in data() 59 title.replace(QLatin1String("%w"), _sessions[row]->userTitle()); in data() 65 return _sessions[row]->sessionId(); in data() 70 return QIcon::fromTheme(_sessions[row]->iconName()); in data() 105 return _sessions.count(); in rowCount() 116 int row = _sessions.indexOf(session); in sessionFinished() 121 _sessions.removeAt(row); in sessionFinished() [all …]
|
H A D | SessionGroup.cpp | 27 return _sessions.keys(); in sessions() 33 _sessions.insert(session, false); in addSession() 40 _sessions.remove(session); in removeSession() 57 const bool wasMaster = _sessions[session]; in setMasterStatus() 63 _sessions[session] = master; in setMasterStatus() 84 const QList<Session *> sessionsKeys = _sessions.keys(); in forwardData() 86 if (!_sessions[other]) { in forwardData()
|
H A D | SessionManager.cpp | 44 : _sessions(QList<Session *>()) in SessionManager() 56 if (!_sessions.isEmpty()) { in ~SessionManager() 60 for (Session *session : qAsConst(_sessions)) { in ~SessionManager() 80 for (Session *session : qAsConst(_sessions)) { in closeAllSessions() 83 _sessions.clear(); in closeAllSessions() 88 return _sessions; in sessions() 115 _sessions << session; in createSession() 130 _sessions.removeAll(session); in sessionTerminated() 139 for (Session *session : qAsConst(_sessions)) { in applyProfile() 342 for (Session *session : qAsConst(_sessions)) { in saveSessions() [all …]
|
/dports/editors/gedit-plugins/gedit-plugins-40.1/plugins/sessionsaver/sessionsaver/store/ |
H A D | sessionstore.py | 39 self._sessions = [] 42 return iter(self._sessions) 45 return self._sessions[index] 48 return self._sessions[i:j] 51 return len(self._sessions) 54 self._sessions.append(session) 55 self._sessions.sort() 58 index = self._sessions.index(session) 59 self._sessions[index] = session 70 self._sessions.remove(session) [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/ |
H A D | sessions_collection_mock.cpp | 38 : _sessions(), in MockSessionsCollectionImpl() 68 _sessions.insert({record.getId(), std::move(record)}); in add() 73 _sessions.erase(lsid); in remove() 78 return _sessions.find(lsid) != _sessions.end(); in has() 83 _sessions.clear(); in clearSessions() 87 return _sessions; in sessions() 93 _sessions.insert({record.getId(), record}); in _refreshSessions() 102 _sessions.erase(lsid); in _removeRecords() 113 if (_sessions.find(lsid) == _sessions.end()) { in findRemovedSessions()
|
/dports/net-im/gajim/gajim-gajim-1.3.3/gajim/common/modules/ |
H A D | jingle.py | 78 self._sessions = {} 89 if sid in self._sessions: 93 self._sessions[sid].callbacks = [] 94 del self._sessions[sid] 141 if sid not in self._sessions: 145 self._sessions[sid] = newjingle 148 self._sessions[sid].on_stanza(stanza) 150 if sid in self._sessions and \ 227 self._sessions[jingle.sid] = jingle 298 if sid in self._sessions: [all …]
|
/dports/devel/hadoop2/jetty-6.1.14/modules/jetty/src/main/java/org/mortbay/jetty/servlet/ |
H A D | HashSessionIdManager.java | 40 MultiMap _sessions; field in HashSessionIdManager 140 _sessions=new MultiMap(); in doStart() 146 if (_sessions!=null) in doStop() 147 _sessions.clear(); // Maybe invalidate? in doStop() 148 _sessions=null; in doStop() 157 return _sessions.containsKey(id); in idInUse() 168 _sessions.add(getClusterId(session.getId()),session); in addSession() 180 _sessions.removeValue(getClusterId(session.getId()),session); in removeSession() 194 while (_sessions.containsKey(id)) in invalidateAll() 196 Session session=(Session)_sessions.getValue(id,0); in invalidateAll() [all …]
|
H A D | HashSessionManager.java | 51 protected Map _sessions; field in HashSessionManager 66 _sessions=new HashMap(); in doStart() 95 _sessions.clear(); in doStop() 96 _sessions=null; in doStop() 124 return Collections.unmodifiableMap(_sessions); in getSessionMap() 131 return _sessions.size(); in getSessions() 270 int nbsess=this._sessions.size(); in scavenge() 298 if (_sessions==null) in getSession() 301 return (Session)_sessions.get(idInCluster); in getSession() 314 _sessions.clear(); in invalidateSessions() [all …]
|
/dports/devel/hadoop/jetty-6.1.14/modules/jetty/src/main/java/org/mortbay/jetty/servlet/ |
H A D | HashSessionIdManager.java | 40 MultiMap _sessions; field in HashSessionIdManager 140 _sessions=new MultiMap(); in doStart() 146 if (_sessions!=null) in doStop() 147 _sessions.clear(); // Maybe invalidate? in doStop() 148 _sessions=null; in doStop() 157 return _sessions.containsKey(id); in idInUse() 168 _sessions.add(getClusterId(session.getId()),session); in addSession() 180 _sessions.removeValue(getClusterId(session.getId()),session); in removeSession() 194 while (_sessions.containsKey(id)) in invalidateAll() 196 Session session=(Session)_sessions.getValue(id,0); in invalidateAll() [all …]
|
H A D | HashSessionManager.java | 51 protected Map _sessions; field in HashSessionManager 66 _sessions=new HashMap(); in doStart() 95 _sessions.clear(); in doStop() 96 _sessions=null; in doStop() 124 return Collections.unmodifiableMap(_sessions); in getSessionMap() 131 return _sessions.size(); in getSessions() 270 int nbsess=this._sessions.size(); in scavenge() 298 if (_sessions==null) in getSession() 301 return (Session)_sessions.get(idInCluster); in getSession() 314 _sessions.clear(); in invalidateSessions() [all …]
|
/dports/devel/php-ice37/ice-3.7.2/cpp/src/IceGrid/ |
H A D | SessionServantManager.cpp | 90 assert(_sessions.empty()); in deactivate() 98 _sessions.insert(make_pair(session, SessionInfo(con, category))); in addSession() 123 map<Ice::ObjectPtr, SessionInfo>::iterator p = _sessions.find(session); in setSessionControl() 124 assert(p != _sessions.end()); in setSessionControl() 151 map<Ice::ObjectPtr, SessionInfo>::iterator p = _sessions.find(session); in getGlacier2IdentitySet() 152 if(p != _sessions.end() && p->second.sessionControl) in getGlacier2IdentitySet() 171 if(p != _sessions.end() && p->second.sessionControl) in getGlacier2AdapterIdSet() 191 assert(p != _sessions.end()); in removeSession() 216 _sessions.erase(p); in removeSession() 238 assert(q != _sessions.end()); in remove() [all …]
|
/dports/devel/ice37/ice-3.7.2/cpp/src/IceGrid/ |
H A D | SessionServantManager.cpp | 90 assert(_sessions.empty()); in deactivate() 98 _sessions.insert(make_pair(session, SessionInfo(con, category))); in addSession() 123 map<Ice::ObjectPtr, SessionInfo>::iterator p = _sessions.find(session); in setSessionControl() 124 assert(p != _sessions.end()); in setSessionControl() 151 map<Ice::ObjectPtr, SessionInfo>::iterator p = _sessions.find(session); in getGlacier2IdentitySet() 152 if(p != _sessions.end() && p->second.sessionControl) in getGlacier2IdentitySet() 171 if(p != _sessions.end() && p->second.sessionControl) in getGlacier2AdapterIdSet() 191 assert(p != _sessions.end()); in removeSession() 216 _sessions.erase(p); in removeSession() 238 assert(q != _sessions.end()); in remove() [all …]
|
/dports/devel/py-ice37/ice-3.7.2/cpp/src/IceGrid/ |
H A D | SessionServantManager.cpp | 90 assert(_sessions.empty()); in deactivate() 98 _sessions.insert(make_pair(session, SessionInfo(con, category))); in addSession() 123 map<Ice::ObjectPtr, SessionInfo>::iterator p = _sessions.find(session); in setSessionControl() 124 assert(p != _sessions.end()); in setSessionControl() 151 map<Ice::ObjectPtr, SessionInfo>::iterator p = _sessions.find(session); in getGlacier2IdentitySet() 152 if(p != _sessions.end() && p->second.sessionControl) in getGlacier2IdentitySet() 171 if(p != _sessions.end() && p->second.sessionControl) in getGlacier2AdapterIdSet() 191 assert(p != _sessions.end()); in removeSession() 216 _sessions.erase(p); in removeSession() 238 assert(q != _sessions.end()); in remove() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/transport/ |
H A D | transport_layer_mock.cpp | 55 } else if (_sessions[session->id()].ended) { in sourceMessage() 69 } else if (_sessions[session->id()].ended) { in sinkMessage() 83 } else if (_sessions[ticket.sessionId()].ended) { in wait() 98 _sessions[sessionId] = Connection{false, session, SSLPeerInfo()}; in createSession() 100 return _sessions[sessionId].session; in createSession() 107 return _sessions[id].session; in get() 111 return _sessions.count(id) > 0; in owns() 117 _sessions[session->id()].ended = true; in end()
|
/dports/devel/hadoop2/jetty-6.1.14/extras/jboss/src/main/java/org/mortbay/j2ee/session/ |
H A D | LocalStore.java | 31 Map _sessions = new HashMap(); field in LocalStore 67 synchronized (_sessions) in loadState() 69 return (State) _sessions.get(id); in loadState() 77 synchronized (_sessions) in storeState() 79 _sessions.put(state.getId(), state); in storeState() 92 synchronized (_sessions) in removeState() 94 _sessions.remove(state.getId()); in removeState()
|
H A D | AbstractReplicatedStore.java | 97 return _sessions.size(); in getSessions() 106 _sessions.clear(); in destroy() 107 _sessions = null; in destroy() 142 synchronized (_sessions) in loadState() 144 tmp = _sessions.get(id); in loadState() 154 synchronized (_sessions) in storeState() 185 synchronized (_sessions) in scavenge() 376 synchronized (_sessions) in createSession() 378 _sessions.put(id, state); in createSession() 394 synchronized (_sessions) in destroySession() [all …]
|
/dports/devel/hadoop/jetty-6.1.14/extras/jboss/src/main/java/org/mortbay/j2ee/session/ |
H A D | LocalStore.java | 31 Map _sessions = new HashMap(); field in LocalStore 67 synchronized (_sessions) in loadState() 69 return (State) _sessions.get(id); in loadState() 77 synchronized (_sessions) in storeState() 79 _sessions.put(state.getId(), state); in storeState() 92 synchronized (_sessions) in removeState() 94 _sessions.remove(state.getId()); in removeState()
|
H A D | AbstractReplicatedStore.java | 97 return _sessions.size(); in getSessions() 106 _sessions.clear(); in destroy() 107 _sessions = null; in destroy() 142 synchronized (_sessions) in loadState() 144 tmp = _sessions.get(id); in loadState() 154 synchronized (_sessions) in storeState() 185 synchronized (_sessions) in scavenge() 376 synchronized (_sessions) in createSession() 378 _sessions.put(id, state); in createSession() 394 synchronized (_sessions) in destroySession() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Mail/src/System/Net/Mail/ |
H A D | SmtpNegotiateAuthenticationModule.cs | 13 …private readonly Dictionary<object, NTAuthentication> _sessions = new Dictionary<object, NTAuthent… field in System.Net.Mail.SmtpNegotiateAuthenticationModule 24 lock (_sessions) in Authenticate() 27 if (!_sessions.TryGetValue(sessionCookie, out clientContext)) in Authenticate() 34 _sessions[sessionCookie] = in Authenticate() 100 lock (_sessions) in CloseContext() 102 if (_sessions.TryGetValue(sessionCookie, out clientContext)) in CloseContext() 104 _sessions.Remove(sessionCookie); in CloseContext()
|
H A D | SmtpNtlmAuthenticationModule.cs | 12 …private readonly Dictionary<object, NTAuthentication> _sessions = new Dictionary<object, NTAuthent… field in System.Net.Mail.SmtpNtlmAuthenticationModule 23 lock (_sessions) in Authenticate() 26 if (!_sessions.TryGetValue(sessionCookie, out clientContext)) in Authenticate() 33 _sessions[sessionCookie] = in Authenticate() 47 _sessions.Remove(sessionCookie); in Authenticate()
|
/dports/www/firefox-esr/firefox-91.8.0/remote/test/puppeteer/src/common/ |
H A D | Connection.ts | 58 _sessions: Map<string, CDPSession> = new Map(); 82 return this._sessions.get(sessionId) || null; 127 this._sessions.set(sessionId, session); 129 const parentSession = this._sessions.get(object.sessionId); 134 const session = this._sessions.get(object.params.sessionId); 137 this._sessions.delete(object.params.sessionId); 139 const parentSession = this._sessions.get(object.sessionId); 146 const session = this._sessions.get(object.sessionId); 177 for (const session of this._sessions.values()) session._onClosed(); 178 this._sessions.clear(); [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/remote/test/puppeteer/src/common/ |
H A D | Connection.ts | 58 _sessions: Map<string, CDPSession> = new Map(); property in Connection 82 return this._sessions.get(sessionId) || null; 127 this._sessions.set(sessionId, session); 129 const parentSession = this._sessions.get(object.sessionId); 134 const session = this._sessions.get(object.params.sessionId); 137 this._sessions.delete(object.params.sessionId); 139 const parentSession = this._sessions.get(object.sessionId); 146 const session = this._sessions.get(object.sessionId); 177 for (const session of this._sessions.values()) session._onClosed(); 178 this._sessions.clear(); [all …]
|
/dports/www/firefox/firefox-99.0/remote/test/puppeteer/src/common/ |
H A D | Connection.ts | 59 _sessions: Map<string, CDPSession> = new Map(); property in Connection 83 return this._sessions.get(sessionId) || null; 133 this._sessions.set(sessionId, session); 135 const parentSession = this._sessions.get(object.sessionId); 140 const session = this._sessions.get(object.params.sessionId); 143 this._sessions.delete(object.params.sessionId); 145 const parentSession = this._sessions.get(object.sessionId); 152 const session = this._sessions.get(object.sessionId); 183 for (const session of this._sessions.values()) session._onClosed(); 184 this._sessions.clear(); [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/he/moonbase/ |
H A D | net_main.cpp | 45 _sessions = nullptr; in Net() 55 delete _sessions; in ~Net() 184 if (!_sessions) { in joinSession() 189 if (sessionIndex >= (int)_sessions->countChildren()) { in joinSession() 327 if (!_sessions) in startQuerySessions() 332 return _sessions->countChildren(); in startQuerySessions() 340 delete _sessions; in startQuerySessionsCallback() 342 _sessions = new Common::JSONValue(*response); in startQuerySessionsCallback() 466 if (!_sessions) in remoteSendData() 552 if (!_sessions) { in getSessionName() [all …]
|