Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 886 for zero (0.02 sec)

  1. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      /**
       * Returns a new {@code CacheStats} representing the difference between this {@code CacheStats}
       * and {@code other}. Negative values, which aren't supported by {@code CacheStats} will be
       * rounded up to zero.
       */
      public CacheStats minus(CacheStats other) {
        return new CacheStats(
            max(0, saturatedSubtract(hitCount, other.hitCount)),
            max(0, saturatedSubtract(missCount, other.missCount)),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        /**
         * Test setting and getting long field (serverTime)
         */
        @Test
        @DisplayName("Test serverTime field with various long values")
        public void testServerTimeField() {
            // Test with zero
            serverData.serverTime = 0L;
            assertEquals(0L, serverData.serverTime);
    
            // Test with positive value
            serverData.serverTime = 132514080000000000L; // Windows file time
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. cmd/erasure-metadata_test.go

    		expectedOffset int64
    		expectedErr    error
    	}{
    		{0, 0, 0, nil},
    		{1 * humanize.MiByte, 0, 1 * humanize.MiByte, nil},
    		{1 + humanize.MiByte, 1, 0, nil},
    		{2 + humanize.MiByte, 1, 1, nil},
    		// Its valid for zero sized object.
    		{-1, 0, -1, nil},
    		// Max fffset is always (size - 1).
    		{(1 + 2 + 4 + 5 + 7) + (5 * humanize.MiByte) - 1, 4, 1048582, nil},
    		// Error if offset is size.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

            }
            return null;
        }
    
        /**
         * Deletes the user code cookie from the client browser.
         * This method removes the user identification cookie by setting it to an empty value with zero max age.
         *
         * @param request the HTTP servlet request
         */
        public void deleteUserCodeFromCookie(final HttpServletRequest request) {
            final String cookieValue = getUserCodeFromCookie(request);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            int length = SessionServicePacket.readLength(src, 0);
    
            assertEquals(0x01FFFF, length);
        }
    
        @Test
        @DisplayName("readLength should handle zero length")
        void testReadLengthZero() {
            byte[] src = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
            int length = SessionServicePacket.readLength(src, 0);
    
            assertEquals(0, length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Ascii.java

       * 'a'/'A' returns 0 and 'z'/'Z' returns 25. Non-alpha characters return a value of 26 or greater.
       */
      private static int getAlphaIndex(char c) {
        // Fold upper-case ASCII to lower-case and make zero-indexed and unsigned (by casting to char).
        return (char) ((c | CASE_MASK) - 'a');
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    log(buf);
                }
            });
        }
    
        /**
         * Marks statistics tracking as complete for the specified crawler object.
         * Decrements the reference count and if it reaches zero, removes the
         * statistics object from cache and outputs the final statistics.
         *
         * @param keyObj the crawler object to complete tracking for
         */
        public void done(final Object keyObj) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

            // Test error handling with edge cases
            try {
                // Test with extreme status codes
                WebApiUtil.setError(-1, "Negative status code");
                WebApiUtil.setError(0, "Zero status code");
                WebApiUtil.setError(999, "Large status code");
    
                // Test with very long message
                StringBuilder longMessage = new StringBuilder();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Test with exact parameter size
            byte[] paramBuffer = new byte[2];
            written = trans2QueryFSInfo.writeParametersWireFormat(paramBuffer, 0);
            assertEquals(2, written);
    
            // Test with zero-length data buffer
            byte[] dataBuffer = new byte[0];
            written = trans2QueryFSInfo.writeDataWireFormat(dataBuffer, 0);
            assertEquals(0, written);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /** Returns the number of values in this array. */
      public int length() {
        return end - start;
      }
    
      /** Returns {@code true} if there are no values in this array ({@link #length} is zero). */
      public boolean isEmpty() {
        return end == start;
      }
    
      /**
       * Returns the {@code long} value present at the given index.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top