Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 301 for 0300 (0.01 sec)

  1. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            long value = 999L;
            SMBUtil.writeInt8(value, buffer, 0);
    
            // Decode with extra length - should only read 8 bytes
            int bytesRead = fileInfo.decode(buffer, 0, 100);
    
            assertEquals(8, bytesRead);
            assertTrue(fileInfo.toString().contains("endOfFile=" + value));
        }
    
        @Test
        @DisplayName("Test toString format")
        void testToString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Ascii.java

    import com.google.common.annotations.GwtCompatible;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Static methods pertaining to ASCII characters (those in the range of values {@code 0x00} through
     * {@code 0x7F}), and to strings containing such characters.
     *
     * <p>ASCII utilities also exist in other classes of this package:
     *
     * <ul>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  3. gradle/libs.versions.toml

    gradlePlugin-ksp = { module = "com.google.devtools.ksp:symbol-processing-gradle-plugin", version.ref = "ksp" }
    gradlePlugin-mavenPublish = "com.vanniktech:gradle-maven-publish-plugin:0.35.0"
    gradlePlugin-mavenSympathy = "io.github.usefulness.maven-sympathy:io.github.usefulness.maven-sympathy.gradle.plugin:0.3.0"
    gradlePlugin-mrjar = "me.champeau.mrjar:me.champeau.mrjar.gradle.plugin:0.1.1"
    gradlePlugin-shadow = "com.gradleup.shadow:shadow-gradle-plugin:9.2.2"
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 19 22:05:50 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length");
        }
    
        @ParameterizedTest
        @ValueSource(bytes = { 0x00, 0x7F, (byte) 0xFF })
        @DisplayName("initSecContext throws on invalid token type")
        void testInitSecContextInvalidTokenType(byte firstByte) throws Exception {
            SpnegoContext ctx = newContext();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

        private String sanitizeForLog(String str) {
            if (str == null) {
                return "null";
            }
    
            // Truncate long strings
            if (str.length() > 100) {
                str = str.substring(0, 100) + "...";
            }
    
            // Remove control characters
            return str.replaceAll("[\\x00-\\x1F\\x7F]", "?");
        }
    
        /**
         * Validation statistics
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      }
    
      public void testFactorialNegative() {
        assertThrows(IllegalArgumentException.class, () -> BigIntegerMath.factorial(-1));
      }
    
      public void testBinomialSmall() {
        runBinomialTest(0, 30);
      }
    
      @GwtIncompatible // too slow
      public void testBinomialLarge() {
        runBinomialTest(31, 100);
      }
    
      // Depends on the correctness of BigIntegerMath.factorial
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/InputValidatorTest.java

        void testArrayBounds() {
            byte[] src = new byte[100];
            byte[] dst = new byte[100];
    
            assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 0, dst, 0, 100));
            assertDoesNotThrow(() -> InputValidator.validateArrayBounds(src, 50, dst, 50, 50));
    
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(null, 0, dst, 0, 10));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                // Setup deferred buffer chain for entry decoding
                mockDeferredBuffer.deferred = mockDeferredBuffer;
                when(mockDeferredBuffer.dec_ndr_short()).thenReturn(0, 0, 0); // SamrSamEntry fields
    
                // When: Decoding array
                array.decode(mockNdrBuffer);
    
                // Then: Should have entries
                assertEquals(1, array.count);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K 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 Dec 26 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/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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top