Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for Decimal (0.03 sec)

  1. guava/src/com/google/common/primitives/UnsignedInteger.java

       *
       * <p>If the argument is nonnegative, the returned result will be equal to {@code bits},
       * otherwise, the result will be equal to {@code 2^32 + bits}.
       *
       * <p>To represent unsigned decimal constants, consider {@link #valueOf(long)} instead.
       *
       * @since 14.0
       */
      public static UnsignedInteger fromIntBits(int bits) {
        return new UnsignedInteger(bits);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. cmd/streaming-signature-v4_test.go

    		err := readCRLF(tt.reader)
    		if err != tt.expectedErr {
    			t.Errorf("Test %d: Expected %s, got %s this", i+1, tt.expectedErr, err)
    		}
    	}
    }
    
    // Tests parsing hex number into its uint64 decimal equivalent.
    func TestParseHexUint(t *testing.T) {
    	type testCase struct {
    		in      string
    		want    uint64
    		wantErr string
    	}
    	tests := []testCase{
    		{"x", 0, "invalid byte in chunk length"},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedInts.java

        return (int) (toLong(dividend) % toLong(divisor));
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given string.
       *
       * <p>Accepts a decimal, hexadecimal, or octal number given by specifying the following prefix:
       *
       * <ul>
       *   <li>{@code 0x}<i>HexDigits</i>
       *   <li>{@code 0X}<i>HexDigits</i>
       *   <li>{@code #}<i>HexDigits</i>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/UnsignedLong.java

       *
       * <p>If the argument is nonnegative, the returned result will be equal to {@code bits},
       * otherwise, the result will be equal to {@code 2^64 + bits}.
       *
       * <p>To represent decimal constants less than {@code 2^63}, consider {@link #valueOf(long)}
       * instead.
       *
       * @since 14.0
       */
      public static UnsignedLong fromLongBits(long bits) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

                    if (!word.isEmpty()) {
                        int startOffset = text.indexOf(word, offset);
                        int endOffset = startOffset + word.length();
    
                        // Handle decimal numbers
                        if (word.matches("\\d+") && startOffset > 0 && text.charAt(startOffset - 1) == '.') {
                            continue;
                        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Doubles.java

         * java.util.regex (where we want them in order to avoid catastrophic backtracking).
         */
        String decimal = "(?:\\d+#(?:\\.\\d*#)?|\\.\\d+#)";
        String completeDec = decimal + "(?:[eE][+-]?\\d+#)?[fFdD]?";
        String hex = "(?:[0-9a-fA-F]+#(?:\\.[0-9a-fA-F]*#)?|\\.[0-9a-fA-F]+#)";
        String completeHex = "0[xX]" + hex + "[pP][+-]?\\d+#[fFdD]?";
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/HexdumpTest.java

            assertNotNull(output);
            // Should start at offset 0 in display but show data from offset 16
            assertTrue(output.contains("00000:"));
            // First byte should be 0x10 (16 in decimal)
            assertTrue(output.contains(" 10 11 12"));
        }
    
        @Test
        @DisplayName("Should convert hex chars correctly")
        void testToHexChars() {
            // Test integer conversion
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. internal/s3select/sql/parser_test.go

    	)
    
    	validCases := []string{
    		"count(*)",
    		"sum(2 + s.id)",
    		"sum(t)",
    		"avg(s.id[1])",
    		"coalesce(s.id[1], 2, 2 + 3)",
    
    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    		"extract(month from '2018-01-09')",
    
    		"extract(hour from '2018-01-09')",
    		"extract(day from '2018-01-09')",
    		"substring('abcd' from 2 for 2)",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            // Arrange
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            int len = 6;
    
            // Set up buffer with test data
            // available = 0x1234 (4660 in decimal)
            SMBUtil.writeInt2(0x1234, buffer, bufferIndex);
            // next 2 bytes (ignored in implementation)
            SMBUtil.writeInt2(0xABCD, buffer, bufferIndex + 2);
            // status = STATUS_CONNECTION_OK (3)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. internal/s3select/jstream/decoder.go

    	// . followed by 1 or more digits
    	if c == '.' {
    		isFloat = true
    		d.scratch.add(c)
    
    		// first char following must be digit
    		if c = d.next(); c < '0' || c > '9' {
    			return 0, d.mkError(ErrSyntax, "after decimal point in numeric literal")
    		}
    		d.scratch.add(c)
    
    		for {
    			if d.remaining() == 0 {
    				return 0, d.mkError(ErrUnexpectedEOF)
    			}
    			if c = d.next(); c < '0' || c > '9' {
    				break
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top