Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 886 for zero (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            int length = testBlock.decode(buffer, 0);
    
            assertTrue(length > 0);
            assertEquals((byte) 0x42, andxBlock.getCommand());
        }
    
        @Test
        @DisplayName("Test decode with zero wordCount")
        void testDecodeWithZeroWordCount() throws SMBProtocolDecodingException {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTransportPoolTest.java

                // Then
                assertEquals(null, result);
            }
    
            @Test
            @DisplayName("Should handle zero port")
            void testZeroPort() {
                // Given
                when(transportPool.getSmbTransport(context, address, 0, false)).thenReturn(transport);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Crc32cHashFunction.java

         * CRC(A000A000A000...), CRC(0B000B000B...), CRC(00C000C000C...), CRC(000D000D000D...)
         * and then to XOR them together.  The strideTable enables us to hash an int followed by 12
         * zero bytes (3 ints), while the byteTable is for advancing one byte at a time.
         * This algorithm is due to the paper "Everything we know about CRC but [are] afraid to forget"
         * by Kadatch and Jenkins, 2010.
         */
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Suppliers.java

      public static <T extends @Nullable Object> Supplier<T> memoizeWithExpiration(
          Supplier<T> delegate, Duration duration) {
        checkNotNull(delegate);
        // The alternative of `duration.compareTo(Duration.ZERO) > 0` causes J2ObjC trouble.
        checkArgument(
            !duration.isNegative() && !duration.isZero(), "duration (%s) must be > 0", duration);
        return new ExpiringMemoizingSupplier<>(delegate, toNanosSaturated(duration));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/Files.java

        checkNotNull(file1);
        checkNotNull(file2);
        if (file1 == file2 || file1.equals(file2)) {
          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals(1L, crawlerContext.getAccessCount());
    
            assertEquals(0L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(0L, crawlerContext.getAccessCount());
    
            // Test decrement below zero
            assertEquals(-1L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(-1L, crawlerContext.getAccessCount());
        }
    
        /**
         * Test concurrent access count operations
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. cmd/auth-handler.go

    	case authTypeStreamingUnsignedTrailer:
    		cred, owner, s3Err = getReqAccessKeyV4(r, region, serviceS3)
    		if s3Err == ErrMissingFields {
    			// Could be anonymous. cred + owner is zero value.
    			s3Err = ErrNone
    		}
    	}
    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	logger.GetReqInfo(ctx).Cred = cred
    	logger.GetReqInfo(ctx).Owner = owner
    	logger.GetReqInfo(ctx).Region = region
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @param b the second unsigned {@code int} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      @SuppressWarnings("InlineMeInliner") // Integer.compare unavailable under GWT+J2CL
      public static int compare(int a, int b) {
        return Ints.compare(flip(a), flip(b));
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100));
        tester.testAllPublicStaticMethods(BloomFilter.class);
      }
    
      /** Tests that we never get an optimal hashes number of zero. */
      public void testOptimalHashes() {
        for (int n = 1; n < 1000; n++) {
          for (double p = 0.1; p > 1e-10; p /= 10) {
            assertThat(BloomFilter.optimalNumOfHashFunctions(p)).isGreaterThan(0);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertEquals(48, bytesWritten);
                assertEquals(1, SMBUtil.readInt2(buffer, 2));
            }
    
            @Test
            @DisplayName("Should handle locks with zero values")
            void testLocksWithZeroValues() {
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 0L, 0) };
    
                Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top