Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for if (0.16 sec)

  1. okhttp/src/test/java/okhttp3/CacheTest.kt

            MockResponse.Builder()
              .addHeader("ETag: v1")
              .build(),
          )
        assertThat(conditionalRequest.headers["If-None-Match"]).isEqualTo("v1")
      }
    
      /** If both If-Modified-Since and If-None-Match conditions apply, send only If-None-Match.  */
      @Test
      fun etagAndExpirationDateInThePast() {
        val lastModifiedDate = formatDate(-2, TimeUnit.HOURS)
        val conditionalRequest =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  2. api/maven-api-model/src/main/mdo/maven.mdo

            <field xdoc.separator="blank">
              <name>parent</name>
              <version>4.0.0+</version>
              <description>The location of the parent project, if one exists. Values from the parent
                project will be the default for this project if they are left unspecified. The location
                is given as a group ID, artifact ID and version.</description>
              <association>
                <type>Parent</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          ReferenceEntry<Object, Object> entryTwo = map.newEntry(keyTwo, hashTwo, entryOne);
          entryTwo.setValueReference(map.newValueReference(entryTwo, valueTwo, 1));
          if (map.usesAccessQueue()) {
            LocalCache.connectAccessOrder(entryOne, entryTwo);
          }
          if (map.usesWriteQueue()) {
            LocalCache.connectWriteOrder(entryOne, entryTwo);
          }
          assertConnected(map, entryOne, entryTwo);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

        platform.assumeNotConscrypt()
        val tlsFallbackScsv = "TLS_FALLBACK_SCSV"
        val supportedCiphers = listOf(*handshakeCertificates.sslSocketFactory().supportedCipherSuites)
        if (!supportedCiphers.contains(tlsFallbackScsv)) {
          // This only works if the client socket supports TLS_FALLBACK_SCSV.
          return
        }
        server.useHttps(handshakeCertificates.sslSocketFactory())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/callback.go

    	runtime.LockOSThread()
    	defer runtime.UnlockOSThread()
    
    	if !lockedOSThread() {
    		t.Fatal("runtime.LockOSThread didn't")
    	}
    	defer func() {
    		s := recover()
    		if s == nil {
    			t.Fatal("did not panic")
    		}
    		if s.(string) != "callback panic" {
    			t.Fatal("wrong panic:", s)
    		}
    		if !lockedOSThread() {
    			t.Fatal("lost lock on OS thread after panic")
    		}
    	}()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.30.md

    - Implemented the `prescore` extension point for the `volumeBinding` plugin. It now returns skip if it doesn't do anything in Score.
       ([#115768](https://github.com/kubernetes/kubernetes/pull/115768), [@AxeZhan](https://github.com/AxeZhan))
    - Kubelet would fail if NodeSwap was used with LimitedSwap and cgroupv1 node.
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Apr 17 17:56:15 GMT 2024
    - 227.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            }
          }
        }
      }
    
      /**
       * Call the non-timed {@link Future#get()} in a way that allows us to abort if it's expected to
       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              }
            }
          }
        }
      }
    
      /**
       * Call the non-timed {@link Future#get()} in a way that allows us to abort if it's expected to
       * hang forever. More precisely, if it's expected to return, we simply call it[*], but if it's
       * expected to hang (because one of the input futures that we know makes it up isn't done yet),
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java

          while (true) {
            if (needle == cv) {
              return chars[c - 1];
            } else if ((lv <= needle) && (needle < cv)) {
              return chars[l];
            } else if (needle == rv) {
              return chars[r];
            } else if (needle < cv) {
              rv = cv;
              r = c;
              c = l + (r - l) / 2;
              cv = prob[c];
            } else if (needle == cv) {
              return chars[c];
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 194.8K bytes
    - Viewed (0)
Back to top