Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 603 for Native (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt

            .Builder()
            .add("Connection", "close")
            .add("Transfer-Encoding", "chunked")
            .build()
        val headers2 =
          Headers
            .Builder()
            .add("Connection", "keep-alive")
            .add("Transfer-Encoding", "chunked")
            .build()
        assertThat(headers2).isNotEqualTo(headers1)
        assertThat(headers2.hashCode()).isNotEqualTo(headers1.hashCode().toLong())
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  2. internal/http/server.go

    	wrappedHandler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		// If server is in shutdown.
    		if atomic.LoadUint32(&srv.inShutdown) != 0 {
    			// To indicate disable keep-alive, server is shutting down.
    			w.Header().Set("Connection", "close")
    
    			// Add 1 minute retry header, incase-client wants to honor it
    			w.Header().Set(RetryAfter, "60")
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     * number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection
     * currently carrying zero streams is an idle stream. We keep it alive because reusing an existing
     * connection is typically faster than establishing a new one.
     *
     * When a single logical call requires multiple streams due to redirects or authorization
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

     *
     * @author mike nonemacher
     */
    @GwtCompatible
    @NullUnmarked
    final class TestingCacheLoaders {
    
      /**
       * Returns a {@link CacheLoader} that implements a naive {@link CacheLoader#loadAll}, delegating
       * {@link CacheLoader#load} calls to {@code loader}.
       */
      static <K, V> CacheLoader<K, V> bulkLoader(CacheLoader<K, V> loader) {
        checkNotNull(loader);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.withLock {
              TaskRunner.INSTANCE.cancelAll()
            }
            fail<Unit>("Queue still active after 1000 ms")
          }
        }
      }
    
      override fun beforeEach(context: ExtensionContext) {
        testName = context.displayName
    
        beforeEach()
      }
    
      private fun beforeEach() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            lock.readLock().lock();
            try {
                return handles.get(path);
            } finally {
                lock.readLock().unlock();
            }
        }
    
        /**
         * Get the number of active handles
         * @return the number of handles
         */
        public int getHandleCount() {
            return handles.size();
        }
    
        private void periodicMaintenance() {
            if (shutdown) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        val jsonBody =
          """
          |{
          |  "user": {
          |    "id": 123,
          |    "name": "Tim O'Reilly"
          |  },
          |  "roles": ["admin", "editor"],
          |  "active": true
          |}
          |
          """.trimMargin()
    
        val body = jsonBody.toRequestBody("application/json".toMediaType())
    
        val request =
          Request
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 24 11:36:14 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. src/archive/tar/reader_test.go

    				"mtime": "1350244992.023960108",
    				"atime": "1350244992.023960108",
    				"ctime": "1350244992.023960108",
    			},
    			Format: FormatPAX,
    		}, {
    			Name:       "a/b",
    			Mode:       0777,
    			Uid:        1000,
    			Gid:        1000,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  9. helm-releases/minio-3.6.4.tgz

    until [ $STATUS = 0 ] do ATTEMPTS=`expr $ATTEMPTS + 1` ; echo \"Failed attempts: $ATTEMPTS\" ; if [ $ATTEMPTS -gt $LIMIT ]; then exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # checkBucketExists ($bucket) # Check if the bucket exists, by using the exit code of `mc ls` checkBucketExists() { BUCKET=$1 CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1) return $? } # createBucket ($bucket, $policy, $purge) # Ensure...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Apr 12 01:30:28 GMT 2022
    - 17.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            long now;
    
            if (log.isTraceEnabled()) {
                log.trace("Currently " + this.sessions.size() + " session(s) active for " + this);
            }
    
            if (targetHost != null) {
                targetHost = targetHost.toLowerCase(Locale.ROOT);
            }
    
            if (targetDomain != null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
Back to Top