Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 325 for 0x01 (1.69 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Persistent handles capability should be 0x10")
            void testGlobalCapPersistentHandles() {
                assertEquals(0x10, Smb2Constants.SMB2_GLOBAL_CAP_PERSISTENT_HANDLES, "Persistent handles capability must be 0x10");
            }
    
            @Test
            @DisplayName("Directory leasing capability should be 0x20")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                        ((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity();
    
                // Then
                assertEquals(25.0, percentFree, 0.001);
                assertEquals(75.0, percentUsed, 0.001);
            }
    
            @Test
            @DisplayName("Should differentiate between caller available and actual free units")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

                // When - calculate percentage free
                double percentFree = (allocInfo.getFree() * 100.0) / allocInfo.getCapacity();
    
                // Then
                assertEquals(25.0, percentFree, 0.001);
            }
    
            @Test
            @DisplayName("Should support available space check pattern")
            void shouldSupportAvailableSpaceCheckPattern() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("010203", StringUtil.toHex(new byte[] { 1, 2, 3 }));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToHex2() throws Exception {
            assertEquals("0001", StringUtil.toHex(1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAppendHex() throws Exception {
            final StringBuilder buf = new StringBuilder();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertArrayEquals(maxFileId, copiedFileId);
    
            // Test with file ID having minimum byte values
            byte[] minFileId = new byte[16];
            Arrays.fill(minFileId, (byte) 0x00);
            Smb2FlushRequest minRequest = new Smb2FlushRequest(mockConfig, minFileId);
    
            written = minRequest.writeBytesWireFormat(buffer, 0);
    
            assertEquals(24, written);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

              Doubles.asList(
                  -Double.MIN_VALUE,
                  -Double.MIN_NORMAL,
                  -1,
                  -20,
                  Double.NaN,
                  Double.NEGATIVE_INFINITY,
                  -0.001));
    
      public void testFuzzyEqualsFinite() {
        for (double a : FINITE_DOUBLE_CANDIDATES) {
          for (double b : FINITE_DOUBLE_CANDIDATES) {
            for (double tolerance : FINITE_TOLERANCE_CANDIDATES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

      fun hostIpv6WithIpv4SuffixWithHexadecimalPrefix() {
        // Chrome interprets a leading '0x' as hexadecimal; Firefox rejects them. (We reject them.)
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0x10.0.0x10]/",
          "Invalid URL host: \"[0:0:0:0:0:1:0.0x10.0.0x10]\"",
        )
      }
    
      @Test
      fun hostIpv6WithMalformedIpv4Suffix() {
        assertInvalid(
          "http://[0:0:0:0:0:1:0.0:0.0]/",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            buffer[66] = (byte) 0x4C;
            buffer[67] = (byte) 0x4D;
            buffer[68] = (byte) 0x53;
            buffer[69] = (byte) 0x53;
            buffer[70] = (byte) 0x50;
            buffer[71] = (byte) 0x00;
    
            return buffer;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/HashCode.java

       */
      public abstract long asLong();
    
      /**
       * If this hashcode has enough bits, returns {@code asLong()}, otherwise returns a {@code long}
       * value with {@code asBytes()} as the least-significant bytes and {@code 0x00} as the remaining
       * most-significant bytes.
       *
       * @since 14.0 (since 11.0 as {@code Hashing.padToLong(HashCode)})
       */
      public abstract long padToLong();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

            int bytesWritten = transaction.writeParameterWordsWireFormat(dst, 0);
    
            // Verify the bytes written
            assertTrue(bytesWritten > 0);
    
            // For secondary, first byte should be 0x00 (Reserved)
            assertEquals(0, dst[0]);
    
            // Verify reserved bytes
            assertEquals(0, dst[1]);
            assertEquals(0, dst[2]);
    
            // Verify total parameter count (4 bytes at position 3)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top