Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,708 for lengths (0.05 sec)

  1. src/main/java/jcifs/pac/PacMac.java

            cipher.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(keybytes, "AES"), new IvParameterSpec(ZERO_IV, 0, ZERO_IV.length));
            if (constant.length != cipher.getBlockSize()) {
                constant = expandNFold(constant, cipher.getBlockSize());
            }
            byte[] enc = constant;
            int klen = keybytes.length;
            byte[] dk = new byte[klen];
            for (int n = 0; n < klen;) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

            if (blob != null) {
                System.arraycopy(blob, 0, dst, dstIndex, blob.length);
                dstIndex += blob.length;
            } else {
                System.arraycopy(lmHash, 0, dst, dstIndex, lmHash.length);
                dstIndex += lmHash.length;
                System.arraycopy(ntHash, 0, dst, dstIndex, ntHash.length);
                dstIndex += ntHash.length;
    
                dstIndex += writeString(accountName, dst, dstIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

          writeVariableLengthLong(tag)
        }
    
        // Write the length. This takes 1 byte if length is less than 128.
        val length = content.size
        if (length < 128) {
          sink.writeByte(length.toInt())
        } else {
          // count how many bytes we'll need to express the length.
          val lengthBitCount = 64 - java.lang.Long.numberOfLeadingZeros(length)
          val lengthByteCount = (lengthBitCount + 7) / 8
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       */
      internal const val B1_FLAG_MASK = 128
    
      /**
       * Byte 1 mask for the payload length.
       *
       * If this value is [PAYLOAD_SHORT], the next two
       * bytes represent the length. If this value is [PAYLOAD_LONG], the next eight bytes
       * represent the length.
       */
      internal const val B1_MASK_LENGTH = 127
    
      internal const val OPCODE_CONTINUATION = 0x0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java

        return (T[]) Arrays.copyOfRange(array, 0, array.length);
      }
    
      // TODO: Consolidate different copies in one single place.
      static String format(String template, Object... args) {
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  7. migrator/column_type.go

    	return ct.AutoIncrementValue.Bool, ct.AutoIncrementValue.Valid
    }
    
    // Length returns the column type length for variable length column types
    func (ct ColumnType) Length() (length int64, ok bool) {
    	if ct.LengthValue.Valid {
    		return ct.LengthValue.Int64, true
    	}
    	return ct.SQLColumnType.Length()
    }
    
    // DecimalSize returns the scale and precision of a decimal type.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/EncodableTest.java

                    Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index
                    Arguments.of(makeSeq(4), 4, 0, 0), // zero-length slice at end
                    Arguments.of(makeSeq(16), 7, 3, 0), // small slice from middle
                    Arguments.of(makeSeq(16), 0, 0, 5) // zero-length with non-zero dst index
            );
        }
    
        // Creates a deterministic byte sequence [0,1,2,...,n-1]
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
            assertDoesNotThrow(() -> digest.update(data, 0, data.length));
        }
    
        @Test
        @DisplayName("Test update method with zero length")
        void testUpdateWithZeroLength() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey);
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            String[] result = JvmUtil.filterJvmOptions(new String[0]);
            assertEquals(0, result.length);
        }
    
        public void test_filterJvmOptions_singleElement() {
            System.setProperty("java.version", "11.0.1");
    
            String[] result = JvmUtil.filterJvmOptions(new String[] { "-Xmx1g" });
            assertEquals(1, result.length);
            assertEquals("-Xmx1g", result[0]);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top