Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 133 for 4097 (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        }
    
        @Test
        @DisplayName("Should handle large token correctly")
        void testLargeToken() throws Exception {
            // Given
            byte[] largeToken = createTestData(4096);
            Smb2SessionSetupRequest req =
                    new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, largeToken);
            byte[] buffer = new byte[8192];
    
    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)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 1024 + 7) / 8) * 8;
                assertEquals(expectedSize, request.size());
    
                // Write to buffer
                byte[] buffer = new byte[4096];
                int bytesWritten = request.writeBytesWireFormat(buffer, 100);
                assertEquals(48 + 1024, bytesWritten);
    
                // Verify written structure
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  3. lib/wasm/wasm_exec.js

    			this.exited = false; // whether the Go program has exited
    
    			// Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory.
    			let offset = 4096;
    
    			const strPtr = (str) => {
    				const ptr = offset;
    				const bytes = encoder.encode(str + "\0");
    				new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);
    				offset += bytes.length;
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(512, samr.ACB_PWNOEXP);
                assertEquals(1024, samr.ACB_AUTOLOCK);
                assertEquals(2048, samr.ACB_ENC_TXT_PWD_ALLOWED);
                assertEquals(4096, samr.ACB_SMARTCARD_REQUIRED);
                assertEquals(8192, samr.ACB_TRUSTED_FOR_DELEGATION);
                assertEquals(16384, samr.ACB_NOT_DELEGATED);
                assertEquals(32768, samr.ACB_USE_DES_KEY_ONLY);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/dcerpc/msrpc/samr.java

        public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048;
        /** Account control bit flag: Smart card is required for login */
        public static final int ACB_SMARTCARD_REQUIRED = 4096;
        /** Account control bit flag: Account is trusted for delegation */
        public static final int ACB_TRUSTED_FOR_DELEGATION = 8192;
        /** Account control bit flag: Account is not delegated */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

        public static final int ACB_ENC_TXT_PWD_ALLOWED = 2048;
        /** Account control bit flag: Smart card is required for login */
        public static final int ACB_SMARTCARD_REQUIRED = 4096;
        /** Account control bit flag: Account is trusted for delegation */
        public static final int ACB_TRUSTED_FOR_DELEGATION = 8192;
        /** Account control bit flag: Account is not delegated */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  7. src/bufio/scan.go

    	// The actual maximum token size may be smaller as the buffer
    	// may need to include, for instance, a newline.
    	MaxScanTokenSize = 64 * 1024
    
    	startBufSize = 4096 // Size of initial allocation for buffer.
    )
    
    // NewScanner returns a new [Scanner] to read from r.
    // The split function defaults to [ScanLines].
    func NewScanner(r io.Reader) *Scanner {
    	return &Scanner{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                expectedSize = ((expectedSize + 7) / 8) * 8;
                assertEquals(expectedSize, lockRequest.size());
    
                // Write to buffer
                byte[] buffer = new byte[4096];
                int bytesWritten = lockRequest.writeBytesWireFormat(buffer, 0);
                assertEquals(24 + (24 * lockCount), bytesWritten);
                assertEquals(lockCount, SMBUtil.readInt2(buffer, 2));
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

       *
       * The network response's status code is most influential when deciding how to follow up:
       *
       *  * For redirects (301: Moved Permanently, 302: Temporary Redirect, etc.)
       *  * For auth challenges (401: Unauthorized, 407: Proxy Authentication Required.)
       *  * For client timeouts (408: Request Time-Out.)
       *  * For server failures (503: Service Unavailable.)
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 21:03:04 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

      }
    
      public void testNewDataOutput_writeChar() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeChar('a');
        assertThat(out.toByteArray()).isEqualTo(new byte[] {0, 97});
      }
    
      // Hardcoded because of Android problems. See testUtf16Expected.
      private static final byte[] utf16ExpectedWithBom =
          new byte[] {-2, -1, 0, 114, 0, -55, 0, 115, 0, 117, 0, 109, 0, -55};
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top