Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 194 for p256 (0.02 sec)

  1. src/archive/tar/strconv.go

    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    		b[n] = 0 // Replace trailing slash with NUL terminator
    	}
    }
    
    // fitsInBase256 reports whether x can be encoded into n bytes using base-256
    // encoding. Unlike octal encoding, base-256 encoding does not require that the
    // string ends with a NUL character. Thus, all n bytes are available for output.
    //
    // If operating in binary mode, this assumes strict GNU binary mode; which means
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @Test
            @DisplayName("Should handle empty data in wire format")
            void testWriteBytesWireFormatEmptyData() {
                request.setData(new byte[0], 0, 0);
    
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
                assertEquals(48, bytesWritten); // Only header, no data
                assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            DummyAndXBlock block = new DummyAndXBlock();
            TestSigningDigest digest = new TestSigningDigest();
            block.digest = digest;
    
            byte[] buf = new byte[256];
            int len = block.encode(buf, 0);
    
            assertTrue(len > 0);
            assertTrue(digest.called, "sign() should be called during encode");
            assertEquals(len, digest.lastLength);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        }
    
        @Test
        @DisplayName("writeBytesWireFormat should write correct structure")
        void testWriteBytesWireFormat() {
            byte[] buffer = new byte[256];
            int offset = 64; // Start at offset to test proper indexing
    
            int written = request.writeBytesWireFormat(buffer, offset);
    
            // Verify bytes written
            assertEquals(24, written);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

        void testDecodeMoreProcessingParsesBlobAndFlags() throws Exception {
            Smb2SessionSetupResponse resp = newResponse();
    
            byte[] buf = new byte[256];
            int headerStart = 0;
            long expectedSessionId = 0x1122334455667788L;
            buildHeader(buf, headerStart, NtStatus.NT_STATUS_MORE_PROCESSING_REQUIRED, 0x0001, expectedSessionId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            // Support both AES-128 and AES-256 for CCM cipher
            int keyLength = getKeyLength();
            final AEADBlockCipher cipher;
    
            if (keyLength == 16) {
                // AES-128 CCM
                cipher = new CCMBlockCipher(new AESEngine());
            } else if (keyLength == 32) {
                // AES-256 CCM - Bouncy Castle supports AES-256 with same AESEngine
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            String newFilename = "newfile.txt";
    
            trans2FindNext2.reset(newResumeKey, newFilename);
    
            // Verify by writing parameters and checking the buffer
            byte[] buffer = new byte[256];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            // Check resume key at offset 6 (after sid and maxItems and informationLevel)
            int actualResumeKey = SMBUtil.readInt4(buffer, 6);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java

        public static final int CIPHER_AES128_CCM = 0x1;
    
        /**
         * AES 128 GCM
         */
        public static final int CIPHER_AES128_GCM = 0x2;
    
        /**
         * AES 256 CCM
         */
        public static final int CIPHER_AES256_CCM = 0x3;
    
        /**
         * AES 256 GCM
         */
        public static final int CIPHER_AES256_GCM = 0x4;
    
        private int[] ciphers;
    
        /**
         * Constructs an encryption negotiate context.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            byte[] setupBuffer = new byte[256];
            byte[] paramBuffer = new byte[256];
            byte[] dataBuffer = new byte[256];
    
            int setupWritten = trans2SetFileInfo.writeSetupWireFormat(setupBuffer, 0);
            int paramWritten = trans2SetFileInfo.writeParametersWireFormat(paramBuffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      // goodFastHash(256) uses Murmur3_128. Use the same epsilon bounds.
      public void testGoodFastHash256() {
        HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(256), 250, 0.20);
        HashTestUtils.checkAvalanche(Hashing.goodFastHash(256), 500, 0.17);
        HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(256));
        HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
Back to top