Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 237 for K256 (0.01 sec)

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

            System.arraycopy(testMac, 0, src, srcIndex + 19, 6);
    
            // Statistics
            byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
            System.arraycopy(stats, 0, src, srcIndex + 25, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
            assertEquals(31, result);
    
            // Verify queryAddress was updated
            assertTrue(mockQueryAddress.isDataFromNodeStatus);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. internal/bucket/replication/tag.go

    }
    
    // Validate checks this tag.
    func (tag Tag) Validate() error {
    	if len(tag.Key) == 0 || utf8.RuneCountInString(tag.Key) > 128 {
    		return errInvalidTagKey
    	}
    
    	if utf8.RuneCountInString(tag.Value) > 256 {
    		return errInvalidTagValue
    	}
    
    	return nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/ASN1UtilTest.java

        }
    
        @Test
        void testReadLength_LongForm() throws IOException {
            // Definite-length long form (length 256)
            InputStream s = new ByteArrayInputStream(new byte[] { (byte) 0x82, 0x01, 0x00 });
            int length = ASN1Util.readLength(s, 500, false);
            assertEquals(256, length);
        }
    
        @Test
        void testReadLength_Indefinite() throws IOException {
            // Indefinite-length
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java

            assertEquals("31f30ddbcb1bf8446576f0e64aa4c88a9f055e3c", MessageDigestUtil.digest("SHA-1", text));
            assertEquals("ecb666d778725ec97307044d642bf4d160aabb76f56c0069c71ea25b1e926825", MessageDigestUtil.digest("SHA-256", text));
    
            try {
                MessageDigestUtil.digest(null, text);
                assertTrue(false);
            } catch (final EmptyArgumentException e) {
                assertTrue(true);
            }
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/SQLRuntimeException.java

         *
         * @param cause the underlying exception
         * @return the real message
         */
        protected static String getRealMessage(final SQLException cause) {
            final StringBuilder buf = new StringBuilder(256);
            buf.append(cause.getMessage()).append(" : [");
            SQLException next = cause.getNextException();
            while (next != null) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // Test with buffer and length larger than needed
            byte[] buffer = new byte[100];
    
            // Fill test pattern
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
            int bytesConsumed = response.decode(buffer, 0, 50);
    
            assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes regardless of extra length");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

        int hashBytes = hashbits / 8;
    
        byte[] key = new byte[256];
        byte[] hashes = new byte[hashBytes * 256];
    
        // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed
        for (int i = 0; i < 256; i++) {
          key[i] = (byte) i;
          int seed = 256 - i;
          byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

        }
    
        @Override
        public String getArtifactId() {
            return artifact.getArtifactId();
        }
    
        @Override
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Artifact Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DebugConfigurationListener.java

         */
        private String toString(Object obj) {
            String str;
            if (obj != null && obj.getClass().isArray()) {
                int n = Array.getLength(obj);
                StringBuilder buf = new StringBuilder(256);
                buf.append('[');
                for (int i = 0; i < n; i++) {
                    if (i > 0) {
                        buf.append(", ");
                    }
                    buf.append(Array.get(obj, i));
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            byte[] largeKey = new byte[256];
            for (int i = 0; i < largeKey.length; i++) {
                largeKey[i] = (byte) (i % 256);
            }
            serverData.encryptionKey = largeKey;
            serverData.encryptionKeyLength = largeKey.length;
    
            assertEquals(256, serverData.encryptionKey.length);
            assertEquals(256, serverData.encryptionKeyLength);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top