Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2551 - 2560 of 3,625 for Gist (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

    import com.google.common.io.BaseEncoding;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.Objects;
    import java.util.Set;
    import java.util.SortedMap;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  2. cmd/bucket-targets.go

    				sys.hc = m
    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    func (sys *BucketTargetSys) reloadHealthCheckers(ctx context.Context) {
    	m := make(map[string]epHealth)
    	tgts := sys.ListTargets(ctx, "", "")
    	sys.hMutex.Lock()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  3. android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt

    class NonRobolectricOkHttpClientTest : BaseOkHttpClientUnitTest() {
      @Test
      override fun testPublicSuffixDb() {
        assertFailure { super.testPublicSuffixDb() }.all {
          hasMessage("Unable to load PublicSuffixDatabase.list resource.")
          cause().isNotNull().all {
            hasMessage(
              "Platform applicationContext not initialized. " +
                "Possibly running Android unit test without Robolectric. " +
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

    class RecordingProxySelector : ProxySelector() {
      @JvmField val proxies = mutableListOf<Proxy>()
    
      val requestedUris = mutableListOf<URI>()
      val failures = mutableListOf<String>()
    
      override fun select(uri: URI): List<Proxy> {
        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
        assertThat(requestedUris).containsExactly(*expectedUris)
        requestedUris.clear()
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat May 10 11:15:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. tests/test_response_class_no_mediatype.py

    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a",
        response_class=Response,
        responses={500: {"description": "Error", "model": JsonApiError}},
    )
    async def a():
        pass  # pragma: no cover
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/log/admin_log.jsp

                                    </la:info>
                                    <la:errors/>
                                </div>
                                <%-- List --%>
                                <div class="data-wrapper">
                                    <div class="row">
                                        <div class="col-sm-12">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

    import org.w3c.dom.Document
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    import org.w3c.dom.NodeList
    
    class DomBuilder extends BuilderSupport {
        Document document
        Node parent
        List elements = []
    
        def DomBuilder(Document document) {
            this.document = document
            this.parent = document
        }
    
        def DomBuilder(Node parent) {
            this.document = parent.ownerDocument
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

          null
        }
    
      @SuppressLint("NewApi")
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        try {
          SSLSockets.setUseSessionTickets(sslSocket, true)
    
          val sslParameters = sslSocket.sslParameters
    
          // Enable ALPN.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 09:36:53 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

     * (API level 24).
     */
    @IgnoreJRERequirement
    internal class InsecureExtendedTrustManager(
      private val delegate: X509ExtendedTrustManager,
      private val insecureHosts: List<String>,
    ) : X509ExtendedTrustManager() {
      override fun getAcceptedIssuers(): Array<X509Certificate> = delegate.acceptedIssuers
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/DfsReferralTest.java

        }
    
        /**
         * Tests the append method of the DfsReferral class.
         * It verifies that a new DfsReferral object can be successfully appended to an existing one,
         * forming a linked list structure.
         */
        @Test
        void testAppend() {
            // Given
            DfsReferral initialReferral = new DfsReferral();
            DfsReferral appendedReferral = new DfsReferral();
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top