Home
last modified time | relevance | path

Searched refs:CachedConnection (Results 1 – 9 of 9) sorted by relevance

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/System/Net/Http/Managed/
H A DHttpConnectionPool.cs21 private readonly List<CachedConnection> _idleConnections = new List<CachedConnection>();
55 List<CachedConnection> list = _idleConnections; in GetConnectionAsync()
62 CachedConnection cachedConnection = list[list.Count - 1]; in GetConnectionAsync()
330 List<CachedConnection> list = _idleConnections; in ReturnConnection()
363 list.Add(new CachedConnection(connection)); in ReturnConnection()
371 List<CachedConnection> list = _idleConnections; in Dispose()
394 List<CachedConnection> list = _idleConnections; in CleanCacheAndDisposeIfUnused()
490 private readonly struct CachedConnection : IEquatable<CachedConnection> struct in System.Net.Http.HttpConnectionPool
499 public CachedConnection(HttpConnection connection) in CachedConnection() method
523 … public bool Equals(CachedConnection other) => ReferenceEquals(other._connection, _connection); argument
[all …]
/dports/devel/upp/upp/bazaar/plugin/gdal/ogr/ogrsf_frmts/fme/
H A Dogrfmedatasource.cpp60 } CachedConnection; typedef
63 static CachedConnection *pasCachedConnections = NULL;
1405 pasCachedConnections = (CachedConnection *) in OfferForConnectionCaching()
1407 sizeof(CachedConnection) * nCachedConnectionCount); in OfferForConnectionCaching()
/dports/graphics/py-gdal/gdal-3.3.3/ogr/ogrsf_frmts/fme/
H A Dogrfmedatasource.cpp59 } CachedConnection; typedef
62 static CachedConnection *pasCachedConnections = NULL;
1403 pasCachedConnections = (CachedConnection *) in OfferForConnectionCaching()
1405 sizeof(CachedConnection) * nCachedConnectionCount); in OfferForConnectionCaching()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/ogr/ogrsf_frmts/fme/
H A Dogrfmedatasource.cpp59 } CachedConnection; typedef
62 static CachedConnection *pasCachedConnections = NULL;
1403 pasCachedConnections = (CachedConnection *) in OfferForConnectionCaching()
1405 sizeof(CachedConnection) * nCachedConnectionCount); in OfferForConnectionCaching()
/dports/graphics/gdal/gdal-3.3.3/ogr/ogrsf_frmts/fme/
H A Dogrfmedatasource.cpp59 } CachedConnection; typedef
62 static CachedConnection *pasCachedConnections = NULL;
1403 pasCachedConnections = (CachedConnection *) in OfferForConnectionCaching()
1405 sizeof(CachedConnection) * nCachedConnectionCount); in OfferForConnectionCaching()
/dports/devel/upp/upp/bazaar/plugin/gdal/port/
H A Dcpl_vsil_curl.cpp195 } CachedConnection; typedef
211 std::map<GIntBig, CachedConnection*> mapConnections;
1482 std::map<GIntBig, CachedConnection*>::const_iterator iterConnections; in ~VSICurlFilesystemHandler()
1502 std::map<GIntBig, CachedConnection*>::const_iterator iterConnections; in GetCurlHandleFor()
1508 CachedConnection* psCachedConnection = new CachedConnection; in GetCurlHandleFor()
1516 CachedConnection* psCachedConnection = iterConnections->second; in GetCurlHandleFor()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/port/
H A Dcpl_vsil_curl.cpp2609 struct CachedConnection
2614 ~CachedConnection() { clear(); }
2622 delete static_cast<std::map<VSICurlFilesystemHandler*, CachedConnection>*>(pData);
2626 static std::map<VSICurlFilesystemHandler*, CachedConnection>& GetConnectionCache()
2628 static std::map<VSICurlFilesystemHandler*, CachedConnection> dummyCache;
2637 auto cachedConnection = new std::map<VSICurlFilesystemHandler*, CachedConnection>();
2648 return *static_cast<std::map<VSICurlFilesystemHandler*, CachedConnection>*>(pData);
2651 static thread_local std::map<VSICurlFilesystemHandler*, CachedConnection> g_tls_connectionCache;
2652 static std::map<VSICurlFilesystemHandler*, CachedConnection>& GetConnectionCache()
2662 void CachedConnection::clear()
/dports/graphics/gdal/gdal-3.3.3/port/
H A Dcpl_vsil_curl.cpp2609 struct CachedConnection
2614 ~CachedConnection() { clear(); }
2622 delete static_cast<std::map<VSICurlFilesystemHandler*, CachedConnection>*>(pData);
2626 static std::map<VSICurlFilesystemHandler*, CachedConnection>& GetConnectionCache()
2628 static std::map<VSICurlFilesystemHandler*, CachedConnection> dummyCache;
2637 auto cachedConnection = new std::map<VSICurlFilesystemHandler*, CachedConnection>();
2648 return *static_cast<std::map<VSICurlFilesystemHandler*, CachedConnection>*>(pData);
2651 static thread_local std::map<VSICurlFilesystemHandler*, CachedConnection> g_tls_connectionCache;
2652 static std::map<VSICurlFilesystemHandler*, CachedConnection>& GetConnectionCache()
2662 void CachedConnection::clear()
/dports/graphics/py-gdal/gdal-3.3.3/port/
H A Dcpl_vsil_curl.cpp2609 struct CachedConnection
2614 ~CachedConnection() { clear(); }
2622 delete static_cast<std::map<VSICurlFilesystemHandler*, CachedConnection>*>(pData);
2626 static std::map<VSICurlFilesystemHandler*, CachedConnection>& GetConnectionCache()
2628 static std::map<VSICurlFilesystemHandler*, CachedConnection> dummyCache;
2637 auto cachedConnection = new std::map<VSICurlFilesystemHandler*, CachedConnection>();
2648 return *static_cast<std::map<VSICurlFilesystemHandler*, CachedConnection>*>(pData);
2651 static thread_local std::map<VSICurlFilesystemHandler*, CachedConnection> g_tls_connectionCache;
2652 static std::map<VSICurlFilesystemHandler*, CachedConnection>& GetConnectionCache()
2662 void CachedConnection::clear()