Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 568 for Digits (0.04 sec)

  1. guava-tests/test/com/google/common/net/HostAndPortTest.java

        checkFromStringCase("[2001::2]:85", 77, "2001::2", 85, true);
      }
    
      public void testFromStringNonAsciiDigits() {
        // Same as testFromStringUnusedDefaultPort but with Gujarati digits for port numbers.
        checkFromStringCase("gmail.com:૮1", 77, null, -1, false);
        checkFromStringCase("192.0.2.2:૮૩", 77, null, -1, false);
        checkFromStringCase("[2001::2]:૮૫", 77, null, -1, false);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

          for (int i = n1 + 1; i <= n2; i++) {
            result *= i;
          }
          return BigInteger.valueOf(result);
        }
    
        /*
         * We want each multiplication to have both sides with approximately the same number of digits.
         * Currently, we just divide the range in half.
         */
        int mid = (n1 + n2) >>> 1;
        return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2));
      }
    
      @Benchmark
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Longs.java

          return null;
        }
        int digit = AsciiDigits.digit(string.charAt(index++));
        if (digit < 0 || digit >= radix) {
          return null;
        }
        long accum = -digit;
    
        long cap = Long.MIN_VALUE / radix;
    
        while (index < string.length()) {
          digit = AsciiDigits.digit(string.charAt(index++));
          if (digit < 0 || digit >= radix || accum < cap) {
            return null;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

        return Digit.INSTANCE;
      }
    
      /**
       * Determines whether a character is a BMP digit according to {@linkplain Character#isDigit(char)
       * Java's definition}. If you only care to match ASCII digits, you can use {@code inRange('0',
       * '9')}.
       *
       * @deprecated Many digits are supplementary characters; see the class documentation.
       * @since 19.0 (since 1.0 as constant {@code JAVA_DIGIT})
       */
      @Deprecated
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            assertTrue(result.contains("maxRawSize=8192"));
            assertTrue(result.contains("sessionKey=0x00ABCDEF"));
            // CAP_UNICODE is 0x0004, when formatted as 8 hex digits = 0x00000004
            assertTrue(result.contains("capabilities=0x00000004"));
            assertTrue(result.contains("serverTime=" + new Date(serverData.serverTime)));
            assertTrue(result.contains("serverTimeZone=300"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

         */
        @Test
        void testToStringContainsExpectedFields() {
            // Given
            int sid = 4660; // 0x1234, printed as decimal
            int resumeKey = 0x01020304; // shows only low 4 hex digits per implementation
            String name = "name";
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, name);
    
            // When
            String s = next.toString();
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/bytes/example_test.go

    	}
    
    	mixedText := []byte("abc123def456ghi")
    	fmt.Println("\nSplit on digits:")
    	for word := range bytes.FieldsFuncSeq(mixedText, unicode.IsDigit) {
    		fmt.Printf("%q\n", word)
    	}
    
    	// Output:
    	// Split on whitespace(similar to FieldsSeq):
    	// "The"
    	// "quick"
    	// "brown"
    	// "fox"
    	//
    	// Split on digits:
    	// "abc"
    	// "def"
    	// "ghi"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/main/resources/fess_message_pl.properties

    constraints.AssertTrue.message = {item} musi być prawdziwe.
    constraints.DecimalMax.message = {item} musi być mniejsze niż {value}.
    constraints.DecimalMin.message = {item} musi być większe niż {value}.
    constraints.Digits.message = {item} musi być liczbą. (Oczekiwano: <liczba>.<liczba>)
    constraints.Future.message = {item} musi być wartością przyszłą.
    constraints.Max.message = {item} musi być mniejsze lub równe {value}.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 04:56:21 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/BigIntegerMath.java

         * and the arithmetic mean is always higher than the geometric mean.
         *
         * b) this iteration converges to floor(sqrt(x)). In fact, the number of correct digits doubles
         * with each iteration, so this algorithm takes O(log(digits)) iterations.
         *
         * We start out with a double-precision approximation, which may be higher or lower than the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/PercentEscaper.java

    @GwtCompatible
    public final class PercentEscaper extends UnicodeEscaper {
    
      // In some escapers spaces are escaped to '+'
      private static final char[] plusSign = {'+'};
    
      // Percent escapers output upper case hex digits (uri escapers require this).
      private static final char[] upperHexDigits = "0123456789ABCDEF".toCharArray();
    
      /** If true we should convert space to the {@code +} character. */
      private final boolean plusForSpace;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top