Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 171 for 05 (0.03 sec)

  1. docs/de/docs/tutorial/path-params-numeric-validations.md

    `0.5` wäre also ein gültiger Wert, aber nicht `0.0` oder `0`.
    
    Das gleiche gilt für <abbr title="less than – kleiner als"><code>lt</code></abbr>.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial006_an_py39.py hl[13] *}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

          case HALF_DOWN:
          case HALF_UP:
          case HALF_EVEN:
            // Since sqrt(2) is irrational, log2(x) - logFloor cannot be exactly 0.5
            int leadingZeros = Long.numberOfLeadingZeros(x);
            long cmp = MAX_POWER_OF_SQRT2_UNSIGNED >>> leadingZeros;
            // floor(2^(logFloor + 0.5))
            int logFloor = (Long.SIZE - 1) - leadingZeros;
            return logFloor + lessThanBranchFree(cmp, x);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/path-params-numeric-validations.md

    숫자 검증은 `float` 값에도 동작합니다.
    
    여기에서 <abbr title="greater than or equal"><code>ge</code></abbr>뿐만 아니라 <abbr title="greater than"><code>gt</code></abbr>를 선언 할 수있는 것이 중요해집니다. 예를 들어 필요한 경우, 값이 `1`보다 작더라도 반드시 `0`보다 커야합니다.
    
    즉, `0.5`는 유효한 값입니다. 그러나 `0.0` 또는 `0`은 그렇지 않습니다.
    
    <abbr title="less than"><code>lt</code></abbr> 역시 마찬가지입니다.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial006.py hl[11] *}
    
    ## 요약
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                byte[] buf = new byte[16];
    
                // Skip advances internal file pointer; next read should use this offset
                in.skip(2);
    
                // Act
                int n = in.readDirect(buf, 0, 5);
    
                // Assert
                assertEquals(3, n, "Should report bytes read from SMB2 response");
    
                // Verify the request offset equals the skip value (2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. cmd/xl-storage_test.go

    		// Successful read at offset 0 and proper buffer size. - 1
    		{
    			volume, "myobject", 0, 5,
    			[]byte("hello"), nil,
    		},
    		// Success read at hierarchy. - 2
    		{
    			volume, "path/to/my/object", 0, 5,
    			[]byte("hello"), nil,
    		},
    		// Object is a directory. - 3
    		{
    			volume, "object-as-dir",
    			0, 5, nil, errIsNotRegular,
    		},
    		// One path segment length is > 255 chars long. - 4
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThrows(NumberFormatException.class, () -> UnsignedLongs.decode("-0x5"));
    
        assertThrows(NumberFormatException.class, () -> UnsignedLongs.decode("-05"));
      }
    
      public void testParseLongWithRadix() {
        assertThat(UnsignedLongs.parseUnsignedLong("ffffffffffffffff", 16))
            .isEqualTo(0xffffffffffffffffL);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashingTest.java

        assertEquals(22152, Hashing.consistentHash(2201, 100001));
        assertEquals(15018, Hashing.consistentHash(2202, 100001));
      }
    
      private static final double MAX_PERCENT_SPREAD = 0.5;
      private static final long RANDOM_SEED = 177L;
    
      public void testCombineOrdered_empty() {
        assertThrows(
            IllegalArgumentException.class,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  8. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        nullWriter.append(null, 0, 4);
    
        assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, -1, 4));
    
        assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, 0, 5));
    
        // nothing really to assert?
        assertSame(CharStreams.nullWriter(), CharStreams.nullWriter());
      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/CharStreamsTest.java

        nullWriter.append(null, 0, 4);
    
        assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, -1, 4));
    
        assertThrows(IndexOutOfBoundsException.class, () -> nullWriter.append(null, 0, 5));
    
        // nothing really to assert?
        assertSame(CharStreams.nullWriter(), CharStreams.nullWriter());
      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // Test odd size (should handle correctly)
            byte[] data3 = { 0x0A, 0x0B, 0x0C };
            assertEquals("0", Hexdump.toHexString(data3, 0, 1)); // 1 char = 0.5 bytes (rounds up to 1)
            assertEquals("0A", Hexdump.toHexString(data3, 0, 2)); // 2 chars = 1 byte
            assertEquals("0A0", Hexdump.toHexString(data3, 0, 3)); // 3 chars = 1.5 bytes (rounds up to 2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top