Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 2,385 for When (0.05 sec)

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

            }
            if (elements.length > 0) {
              multiset1.add(elements[0]);
            }
            if (elements.length > 1) {
              /*
               * When a test requests a multiset with duplicates, our plan of
               * "add an extra item 0 to A and an extra item 1 to B" really means
               * "add an extra item 0 to A and B," which isn't what we want.
               */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/ASN1UtilTest.java

            int length = ASN1Util.readLength(s, 100, false);
            assertEquals(-1, length);
        }
    
        @Test
        void testReadLength_EOF() {
            // EOF when length expected
            InputStream s = new ByteArrayInputStream(new byte[] {});
            assertThrows(EOFException.class, () -> {
                ASN1Util.readLength(s, 100, false);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          if (networkResponse == null && cacheCandidate != null) {
            cacheCandidate.body.closeQuietly()
          }
        }
    
        // If we have a cache response too, then we're doing a conditional get.
        if (cacheResponse != null) {
          if (networkResponse?.code == HTTP_NOT_MODIFIED) {
            val response =
              cacheResponse
                .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

            @Override
            public int compare(String o1, String o2) {
              return o1.length() - o2.length();
            }
          };
    
      /** Test a TreeMultiset with a comparator that can return 0 when comparing unequal values. */
      public void testDegenerateComparator() throws Exception {
        TreeMultiset<String> ms = TreeMultiset.create(DEGENERATE_COMPARATOR);
    
        ms.add("foo");
        ms.add("a");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeBasedTable.java

    import java.util.TreeMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@code Table} whose row keys and column keys are ordered by their natural
     * ordering or by supplied comparators. When constructing a {@code TreeBasedTable}, you may provide
     * comparators for the row keys and the column keys, or you may use natural ordering for both.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  6. cmd/naughty-disk_test.go

    // Programmed errors are stored in errors field.
    type naughtyDisk struct {
    	// The real disk
    	disk StorageAPI
    	// Programmed errors: API call number => error to return
    	errors map[int]error
    	// The error to return when no error value is programmed
    	defaultErr error
    	// The current API call number
    	callNR int
    	// Data protection
    	mu sync.Mutex
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            assertTrue(customEnv.is("bool.on"));
            assertFalse(customEnv.is("bool.off"));
            assertTrue(customEnv.is("bool.1"));
            assertFalse(customEnv.is("bool.0"));
        }
    
        // Test exception when property not found
        public void xtest_propertyNotFound() {
            FessEnv.SimpleImpl emptyEnv = new FessEnv.SimpleImpl() {
                protected Properties prepareProperties() {
                    return new Properties();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. docs/features/https.md

     * **Security** of the connection. This includes verification of the remote webserver with certificates and the privacy of data exchanged with strong ciphers.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Return just the base; caller is responsible for placing ctx at the correct absolute offset.
            // We will return a composite buffer from the test when building the full packet.
            // To keep this helper simple, return base and let the caller append/pad and inject ctx.
            return base;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                    }
                }
                if (targetInformation != null) {
                    flags |= NTLMSSP_NEGOTIATE_TARGET_INFO;
                    // empty context is needed for padding when t.i. is supplied.
                    if (context == null) {
                        context = new byte[8];
                    }
                }
                int data = 32;
                if (context != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top