Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for if (0.14 sec)

  1. android/guava/src/com/google/common/collect/Maps.java

        public String toString() {
          if (areEqual()) {
            return "equal";
          }
    
          StringBuilder result = new StringBuilder("not equal");
          if (!onlyOnLeft.isEmpty()) {
            result.append(": only on left=").append(onlyOnLeft);
          }
          if (!onlyOnRight.isEmpty()) {
            result.append(": only on right=").append(onlyOnRight);
          }
          if (!differences.isEmpty()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            override fun contentLength(): Long {
              return if (uploadKind === TransferKind.CHUNKED) -1L else n.toLong()
            }
    
            override fun writeTo(sink: BufferedSink) {
              if (writeKind == WriteKind.BYTE_BY_BYTE) {
                for (i in 0 until n) {
                  sink.writeByte('x'.code)
                }
              } else {
                val buf = ByteArray(if (writeKind == WriteKind.SMALL_BUFFERS) 256 else 64 * 1024)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    things, all because they WOULD not remember the simple rules
    their friends had taught them:  such as, that a red-hot poker
    will burn you if you hold it too long; and that if you cut your
    finger VERY deeply with a knife, it usually bleeds; and she had
    never forgotten that, if you drink much from a bottle marked
    `poison,' it is almost certain to disagree with you, sooner or
    later.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    things, all because they WOULD not remember the simple rules
    their friends had taught them:  such as, that a red-hot poker
    will burn you if you hold it too long; and that if you cut your
    finger VERY deeply with a knife, it usually bleeds; and she had
    never forgotten that, if you drink much from a bottle marked
    `poison,' it is almost certain to disagree with you, sooner or
    later.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  6. cmd/server_test.go

    // The responses for fetching the object when If-Modified-Since
    // and If-Unmodified-Since headers set are validated.
    // If-Modified-Since - Return the object only if it has been modified since the specified time, else return a 304 (not modified).
    // If-Unmodified-Since - Return the object only if it has not been modified since the specified time, else return a 412 (precondition failed).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top