Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 374 for 1024 (0.01 seconds)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle large buffer encoding")
            void testLargeBufferEncode() {
                byte[] largeName = new byte[1024];
                Arrays.fill(largeName, (byte) 'X');
                byte[] largeData = new byte[2048];
                Arrays.fill(largeData, (byte) 'Y');
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (buf.length < max_recv) {
                throw new IllegalArgumentException("buffer too small");
            }
    
            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0) {
                throw new IOException("Unexpected DCERPC PDU header");
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Test at different offsets
            int[] offsets = { 0, 10, 50, 100, 200 };
    
            for (int offset : offsets) {
                // Given
                byte[] buffer = new byte[1024];
                Smb2SessionSetupRequest req =
                        new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN);
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

        }
    
        private PersistedToolchains interpolate(PersistedToolchains toolchains, ProblemCollector problems) {
    
            StringWriter stringWriter = new StringWriter(1024 * 4);
            try {
                toolchainsWriter.write(stringWriter, null, toolchains);
            } catch (IOException e) {
                throw new IllegalStateException("Failed to serialize toolchains to memory", e);
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

    cpovirk <******@****.***> 1754582511 -0700
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                buffer[8] = 0x00;
                buffer[9] = 0x20; // alloc = 8192
                buffer[16] = 0x00;
                buffer[17] = 0x04; // bytesPerSect = 1024
    
                smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(4L * 8192L * 1024L, smbInfoAllocation.getCapacity());
            }
    
            @Test
            @DisplayName("Should handle zero values")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. cmd/format-erasure_test.go

    			}
    		}
    	}
    }
    
    func BenchmarkInitStorageDisks256(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 256)
    }
    
    func BenchmarkInitStorageDisks1024(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 1024)
    }
    
    func BenchmarkInitStorageDisks2048(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 2048)
    }
    
    func BenchmarkInitStorageDisksMax(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 32*204)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/SmbConstants.java

        /**
         * Default send buffer size for SMB transport.
         */
        int DEFAULT_SND_BUF_SIZE = 0xFFFF;
        /**
         * Default buffer size for change notification responses.
         */
        int DEFAULT_NOTIFY_BUF_SIZE = 1024;
    
        /**
         * Default maximum number of sessions per transport connection.
         */
        int DEFAULT_SSN_LIMIT = 250;
        /**
         * Default connection timeout in milliseconds.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. api/except.txt

    pkg syscall (openbsd-amd64), const CCR0_FLUSH ideal-int
    pkg syscall (openbsd-amd64), const CPUID_CFLUSH = 524288
    pkg syscall (openbsd-amd64), const CPUID_CFLUSH ideal-int
    pkg syscall (openbsd-amd64), const EFER_LMA = 1024
    pkg syscall (openbsd-amd64), const EFER_LMA ideal-int
    pkg syscall (openbsd-amd64), const EFER_LME = 256
    pkg syscall (openbsd-amd64), const EFER_LME ideal-int
    pkg syscall (openbsd-amd64), const EFER_NXE = 2048
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 22 21:16:03 GMT 2026
    - 34.8K bytes
    - Click Count (0)
  10. mockwebserver/README.md

    testing timeouts and interactive testing.
    
    ### Java
    ```java
    MockResponse response = new MockResponse.Builder()
        .throttleBody(1024, 1, TimeUnit.SECONDS)
        .build();
    ```
    
    ### Kotlin
    ```kotlin
    val response = MockResponse.Builder()
      .throttleBody(1024, 1, TimeUnit.SECONDS)
      .build()
    ```
    
    #### RecordedRequest
    
    Verify requests by their method, path, HTTP version, body, and headers.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top