Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,751 for LENGTH (0.05 sec)

  1. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            byte[] buf = new byte[10];
            assertEquals(0, cmd.readSetupWireFormat(buf, 0, buf.length));
            assertEquals(0, cmd.readParametersWireFormat(buf, 0, buf.length));
            assertEquals(0, cmd.readDataWireFormat(buf, 0, buf.length));
        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            try {
                // Time comparison between different length passwords
                long timeDiffLength = measureEqualsTime(auth1, auth2, TIMING_ITERATIONS);
    
                // Create same length passwords for comparison
                char[] password3 = "short".toCharArray();
                char[] password4 = "shore".toCharArray(); // Same length, different content
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                    req.setMaxOutputResponse(maxRecvSize);
                    final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return resp.getOutputLength();
                }
                if (this.transact) {
                    final TransTransactNamedPipe req = new TransTransactNamedPipe(th.getConfig(), fh.getFid(), buf, off, length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2));
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(I18N)), wrapAsGenericAppendable(builder2));
        assertEquals(I18N, builder2.toString());
        assertEquals(I18N.length(), copied);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/UUID.java

         * @param offset the starting position in the array
         * @param length the number of hex digits to convert
         * @return the integer value of the hex digits
         */
        public static int hex_to_bin(final char[] arr, final int offset, final int length) {
            int value = 0;
            int ai, count;
    
            count = 0;
            for (ai = offset; ai < arr.length && count < length; ai++) {
                value <<= 4;
                switch (arr[ai]) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        @Override
        public Class<?>[] createKeyArray(int length) {
          return new Class<?>[length];
        }
    
        @Override
        public Impl[] createValueArray(int length) {
          return new Impl[length];
        }
    
        @Override
        public SampleElements<Entry<Class, Impl>> samples() {
          return new SampleElements<>(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            assertEquals(3, NtlmMessage.readUShort(dest, 0), "Length field must be 3");
            assertEquals(3, NtlmMessage.readUShort(dest, 2), "Length field must be 3 again");
            assertEquals(8, NtlmMessage.readULong(dest, 4), "Offset must point to payload start");
            byte[] actualPayload = new byte[payload.length];
            System.arraycopy(dest, 8, actualPayload, 0, payload.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. cmd/warm-backend-s3.go

    	}
    	return destObj
    }
    
    func (s3 *warmBackendS3) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	res, err := s3.client.PutObject(ctx, s3.Bucket, s3.getDest(object), r, length, minio.PutObjectOptions{
    		SendContentMd5: true,
    		StorageClass:   s3.StorageClass,
    		UserMetadata:   meta,
    	})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jun 08 16:13:30 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top