Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 955 for Khan (1.77 sec)

  1. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                byte[] invalidType = new byte[100];
                System.arraycopy(Type2Message.NTLMSSP_SIGNATURE, 0, invalidType, 0, Type2Message.NTLMSSP_SIGNATURE.length);
                // Set message type to something other than NTLMSSP_TYPE2
                Type2Message.writeULong(invalidType, 8, Type2Message.NTLMSSP_TYPE1);
    
                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidType));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * </ul>
     *
     * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause
     * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
     * hint, so this technique may fail at the whim of the JDK implementation, for example if a user
     * specified the JVM flag {@code -XX:+DisableExplicitGC}. But in practice, it works very well for
     * ordinary tests.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        verifyTableSize(60, 60, 128);
        verifyTableSize(120, 60, 256);
        // if the table is only double the necessary size, we don't bother resizing it
        verifyTableSize(180, 60, 128);
        // but if it's even bigger than double, we rebuild the table
        verifyTableSize(17, 17, 32);
        verifyTableSize(17, 16, 32);
        verifyTableSize(17, 15, 32);
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                  public void run() {
                    runnable.run();
                    runnable.run();
                  }
                };
              }
            },
            "run()",
            "invoked more than once");
      }
    
      public void testFailsToForwardParameters() {
        assertFailure(
            Adder.class,
            new Function<Adder, Adder>() {
              @Override
              public Adder apply(Adder adder) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/ACETest.java

            // Test with exact width string
            sb = new StringBuffer();
            ace.appendCol(sb, "exact", 5);
            assertEquals("exact", sb.toString());
    
            // Test with longer string than width
            sb = new StringBuffer();
            ace.appendCol(sb, "longer string", 5);
            assertEquals("longer string", sb.toString());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        }
    
        @Test
        void readRDataWireFormat_shouldReturnZero_whenOpCodeIsNotQuery() throws NoSuchFieldException, IllegalAccessException {
            // Set 'opCode' field in superclass to a value other than QUERY (0)
            Field opCodeField = NameServicePacket.class.getDeclaredField("opCode");
            opCodeField.setAccessible(true);
            opCodeField.set(nameQueryResponse, 7); // WACK opCode, which is not QUERY (0)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

      // The organization of this test class is unusual, as it's not done by
      // method, but by overall "scenario". Also, the variety of actual tests we
      // do borders on absurd overkill. Better safe than sorry, though?
    
      @GwtIncompatible // java.util.BitSet
      public void testSetBits() {
        doTestSetBits(CharMatcher.any());
        doTestSetBits(CharMatcher.none());
        doTestSetBits(is('a'));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultimap.java

         * builder after this call. This does not change semantics, but may improve performance if
         * {@code expectedValuesPerKey} is a good estimate.
         *
         * <p>This may be called more than once; each newly added key will use the most recent call to
         * {@link #expectedValuesPerKey} as its hint.
         *
         * @throws IllegalArgumentException if {@code expectedValuesPerKey} is negative
         * @since 33.3.0
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/StandardTable.java

     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
     * a {@code Map<R, Map<C, V>>}. A method call like {@code column(columnKey).get(rowKey)} still runs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    			if disk == nil || !disk.IsOnline() {
    				parityDrives++
    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(onlineDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    			// we have no quorum, we shouldn't proceed just
    			// fail at that point.
    			return nil, toObjectErr(errErasureWriteQuorum, bucket, object)
    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
Back to top