Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 223 for 256 (0.02 sec)

  1. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals((byte) (value & 0xFF), dst[3]);
        }
    
        private static Stream<Arguments> provideInt4TestValues() {
            return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536),
                    Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF));
        }
    
        @Test
        @DisplayName("readInt2 should correctly read 16-bit integer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            verify(response).getErrorCode();
        }
    
        @Test
        @DisplayName("Test Response interface methods - verifySignature")
        void testVerifySignature() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
            int size = 100;
            when(response.verifySignature(buffer, offset, size)).thenReturn(true);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

            } else {
                id = Long.parseLong(tmp);
            }
    
            this.identifier_authority = new byte[6];
            for (int i = 5; id > 0; i--) {
                this.identifier_authority[i] = (byte) (id % 256);
                id >>= 8;
            }
    
            this.sub_authority_count = (byte) st.countTokens();
            if (this.sub_authority_count > 0) {
                this.sub_authority = new int[this.sub_authority_count];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

        assertFailsWith<EOFException> {
          serverReader.processNextFrame()
        }
      }
    
      @Test fun clientSimpleBinary() {
        val bytes = binaryData(256)
        data.write("827E0100".decodeHex()).write(bytes)
        clientReader.processNextFrame()
        callback.assertBinaryMessage(bytes)
      }
    
      @Test fun clientTwoFrameBinary() {
        val bytes = binaryData(200)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

                largeDescriptor[i] = 0;
            }
            // Rest of the buffer can be arbitrary
            for (int i = 20; i < largeDescriptor.length; i++) {
                largeDescriptor[i] = (byte) (i % 256);
            }
            info502.security_descriptor = largeDescriptor;
            info502.sd_size = largeDescriptor.length;
    
            // Replace info field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(SmbComTransaction.NET_SERVER_ENUM2, subCommand);
        }
    
        @Test
        @DisplayName("Test with very long domain name")
        void testVeryLongDomainName() {
            String longDomain = "A".repeat(256); // Very long domain name
            netServerEnum2 = new NetServerEnum2(realConfig, longDomain, NetServerEnum2.SV_TYPE_ALL);
    
            byte[] dst = new byte[2048];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. api/go1.16.txt

    pkg syscall (darwin-arm64), const HUPCL ideal-int
    pkg syscall (darwin-arm64), const ICANON = 256
    pkg syscall (darwin-arm64), const ICANON ideal-int
    pkg syscall (darwin-arm64), const ICMP6_FILTER = 18
    pkg syscall (darwin-arm64), const ICMP6_FILTER ideal-int
    pkg syscall (darwin-arm64), const ICRNL = 256
    pkg syscall (darwin-arm64), const ICRNL ideal-int
    pkg syscall (darwin-arm64), const IEXTEN = 1024
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  8. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const CLONE_VM = 256
    pkg syscall (netbsd-arm64-cgo), const CLONE_VM ideal-int
    pkg syscall (netbsd-arm64-cgo), const CREAD = 2048
    pkg syscall (netbsd-arm64-cgo), const CREAD ideal-int
    pkg syscall (netbsd-arm64-cgo), const CS5 = 0
    pkg syscall (netbsd-arm64-cgo), const CS5 ideal-int
    pkg syscall (netbsd-arm64-cgo), const CS6 = 256
    pkg syscall (netbsd-arm64-cgo), const CS6 ideal-int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Aug 08 18:44:16 UTC 2019
    - 452.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testGetNextEntryOffset() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
            int expectedNextEntryOffset = 256;
            SMBUtil.writeInt4(expectedNextEntryOffset, buffer, 0);
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

            }
    
            @Test
            @DisplayName("Should handle offset correctly")
            void testSignWithOffset() {
                byte[] largeData = new byte[256];
                int offset = 64;
                Arrays.fill(largeData, (byte) 0x00);
    
                digest.sign(largeData, offset, 128, request, response);
    
                // Verify signature is placed at correct location
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
Back to top