Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for 001000 (0.41 sec)

  1. guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java

    import java.util.Random;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Benchmark for {@code BaseEncoding} performance. */
    @NullUnmarked
    public class BaseEncodingBenchmark {
      private static final int INPUTS_COUNT = 0x1000;
      private static final int INPUTS_MASK = 0xFFF;
    
      enum EncodingOption {
        BASE64(BaseEncoding.base64()),
        BASE64_URL(BaseEncoding.base64Url()),
        BASE32(BaseEncoding.base32()),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x0800, SmbConstants.FLAGS2_EXTENDED_SECURITY_NEGOTIATION);
            assertEquals(0x1000, SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS);
            assertEquals(0x2000, SmbConstants.FLAGS2_PERMIT_READ_IF_EXECUTE_PERM);
            assertEquals(0x4000, SmbConstants.FLAGS2_STATUS32);
            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        @Test
        @DisplayName("Should define capability constants")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

        public void testReturnFromReadParameterWordsWireFormatIs8() {
            // ensure the method returns 8 as claimed
            byte[] buf = new byte[12];
            buf[0] = 0x00;
            buf[1] = 0x10; // count = 4096 in little-endian (0x1000)
            int returned = resp.readParameterWordsWireFormat(buf, 0);
            assertEquals(8, returned, "Method should return 8 bytes processed");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
            int result = instance.readParameterWordsWireFormat(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NbtAddressTest.java

        }
    
        @Test
        void testConstants() {
            // Test public static final constants
            assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
                    NbtAddress.ANY_HOSTS_NAME);
            assertEquals("\u0001\u0002__MSBROWSE__\u0002", NbtAddress.MASTER_BROWSER_NAME);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/LessThanBenchmark.java

    /**
     * Benchmarks for various ways of writing the expression {@code foo + ((bar < baz) ? 1 : 0)}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class LessThanBenchmark {
      static final int SAMPLE_SIZE = 0x1000;
      static final int SAMPLE_MASK = 0x0FFF;
    
      @Param("1234")
      int randomSeed;
    
      int[] xInts;
      int[] yInts;
    
      long[] xLongs;
      long[] yLongs;
    
      int[] constant;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int SHARING_DENY_READ_EXECUTE = 0x30;
        private static final int SHARING_DENY_NONE = 0x40;
    
        private static final int DO_NOT_CACHE = 0x1000; // bit 12
        private static final int WRITE_THROUGH = 0x4000; // bit 14
    
        private static final int OPEN_FN_CREATE = 0x10;
        private static final int OPEN_FN_FAIL_IF_EXISTS = 0x00;
        private static final int OPEN_FN_OPEN = 0x01;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x0800, SmbConstants.FLAGS2_EXTENDED_SECURITY_NEGOTIATION);
            assertEquals(0x0004, SmbConstants.FLAGS2_SECURITY_SIGNATURES);
            assertEquals(0x4000, SmbConstants.FLAGS2_STATUS32);
            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        /**
         * Test capability flags.
         */
        @Test
        @DisplayName("Capability flags are correct")
        void capabilityFlagsTest() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        val a3 = "2001:db8::1:0:0:1"
        assertThat(parse("http://[2001:db8:0:0:1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:0db8:0:0:1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:db8::1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:db8::0:1:0:0:1]").host).isEqualTo(a3)
        assertThat(parse("http://[2001:0db8::1:0:0:1]").host).isEqualTo(a3)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbConstants.java

         */
        int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
        /**
         * Permit read if execute permission flag.
         */
        int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000;
        /**
         * Use 32-bit status codes flag.
         */
        int FLAGS2_STATUS32 = 0x4000;
        /**
         * Strings are Unicode flag.
         */
        int FLAGS2_UNICODE = 0x8000;
    
        /**
         * No capabilities.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top