Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 1,386 for Byte (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Arrange
            byte[] largeData = new byte[1000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 990;
            int length = 10;
    
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, largeData, offset, length);
            byte[] dst = new byte[100];
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        hasher = HASH_FN.newHasher();
        hasher
            .putByte((byte) 0x01)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x01)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00)
            .putByte((byte) 0x00);
        assertEquals(hashCode, hasher.hash().asLong());
    
        hasher = HASH_FN.newHasher();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/CryptoTest.java

        }
    
        @Test
        @DisplayName("Should handle AES encryption operations")
        void testAESOperations() throws Exception {
            // Given
            byte[] key = new byte[16]; // 128-bit key
            byte[] iv = new byte[16]; // 128-bit IV
            byte[] plaintext = "This is test data for AES encryption test".getBytes();
    
            new SecureRandom().nextBytes(key);
            new SecureRandom().nextBytes(iv);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            if (useUnicode) {
                dst[dstIndex] = (byte) '\0';
                dstIndex++;
            }
            dstIndex += writeString(path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/NtlmMessage.java

        }
    
        /**
         * The NTLMSSP "preamble".
         */
        protected static final byte[] NTLMSSP_SIGNATURE =
                { (byte) 'N', (byte) 'T', (byte) 'L', (byte) 'M', (byte) 'S', (byte) 'S', (byte) 'P', (byte) 0 };
    
        /**
         * NTLM version
         */
        protected static final byte[] NTLMSSP_VERSION = { 6, 1, 0, 0, 0, 0, 0, 15 };
    
        /**
         * NTLMSSP Type 1 message identifier.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SmbNegotiationTest.java

        void testWithLargeBuffers() {
            // Test with large byte arrays
            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
            for (int i = 0; i < largeRequestBuffer.length; i++) {
                largeRequestBuffer[i] = (byte) (i % 256);
            }
            for (int i = 0; i < largeResponseBuffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Arrange
            Name realName = new Name(mockConfig, "SERVER", 0x20, "domain.local");
            nodeStatusRequest = new NodeStatusRequest(mockConfig, realName);
            byte[] dst1 = new byte[100];
            byte[] dst2 = new byte[100];
    
            // Act
            int result1 = nodeStatusRequest.writeBodyWireFormat(dst1, 0);
            int result2 = nodeStatusRequest.writeBodyWireFormat(dst2, 0);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

         *            The file ID to close
         */
        public Smb2CloseRequest(final Configuration config, final byte[] fileId) {
            this(config, fileId, "");
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
        public void setFileId(final byte[] fileId) {
            this.fileId = fileId;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        }
    
        /**
         * Returns a new array with the specified byte value appended to the end of the byte array.
         *
         * @param array
         *            the array. Must not be {@literal null}
         * @param value
         *            the value to add
         * @return a new array with the value appended
         */
        public static byte[] add(final byte[] array, final byte value) {
            assertArgumentNotNull("array", array);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    	indices := []int{
    		bytes.Index(buf.Bytes(), []byte("bar=bar")),
    		bytes.Index(buf.Bytes(), []byte("baz=baz")),
    		bytes.Index(buf.Bytes(), []byte("foo=foo")),
    		bytes.Index(buf.Bytes(), []byte("qux=qux")),
    	}
    	if !slices.IsSorted(indices) {
    		t.Fatal("PAX headers are not sorted")
    	}
    }
    
    func TestUSTARLongName(t *testing.T) {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
Back to top