Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Truncation (0.24 sec)

  1. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        checkSha1("4c9007f4026250c6bc8414f9bf50c86c2d7235da", key, data);
      }
    
      public void testRfc2202_hmacSha1_case5() {
        byte[] key = fillByteArray(20, 0x0c);
        String data = "Test With Truncation";
    
        checkSha1("4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", key, data);
      }
    
      public void testRfc2202_hmacSha1_case6() {
        byte[] key = fillByteArray(80, 0xaa);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Ascii.java

       *   <li>if truncating for display to users, there are other considerations that must be taken
       *       into account
       *   <li>the appropriate truncation indicator may be locale-dependent
       *   <li>it is safe to use non-ASCII characters in the truncation indicator
       * </ul>
       *
       * @throws IllegalArgumentException if {@code maxLength} is less than the length of {@code
       *     truncationIndicator}
       * @since 16.0
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

       *   <li>if truncating for display to users, there are other considerations that must be taken
       *       into account
       *   <li>the appropriate truncation indicator may be locale-dependent
       *   <li>it is safe to use non-ASCII characters in the truncation indicator
       * </ul>
       *
       * @throws IllegalArgumentException if {@code maxLength} is less than the length of {@code
       *     truncationIndicator}
       * @since 16.0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        checkSha1("4c9007f4026250c6bc8414f9bf50c86c2d7235da", key, data);
      }
    
      public void testRfc2202_hmacSha1_case5() {
        byte[] key = fillByteArray(20, 0x0c);
        String data = "Test With Truncation";
    
        checkSha1("4c1a03424b55e07fe7f27be1d58bb9324a9a5a04", key, data);
      }
    
      public void testRfc2202_hmacSha1_case6() {
        byte[] key = fillByteArray(80, 0xaa);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  5. docs/security/README.md

    The *Secure Channel* splits the object content into chunks of a fixed size of `65536` bytes. The last chunk may be smaller to avoid adding additional overhead and is treated specially to prevent truncation attacks. The nonce value is 96 bits long and generated randomly per object / multi-part part. The *Secure Channel* supports plaintexts up to `65536 * 2^32 = 256 TiB`.
    
    #### Randomness
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Feb 12 00:51:25 GMT 2022
    - 13.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        new Trans2SetFileInformationResponse(th.getConfig()),
                        RequestParam.NO_RETRY);
                }
                else {
                    // this is the original, COM_WRITE allows truncation but no 64 bit offsets
                    SmbComWriteResponse rsp = new SmbComWriteResponse(th.getConfig());
                    th.send(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/PACTest.java

    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/math/IntMathTest.java

            // The BigInteger implementation is tested separately, use it as the reference.
            // Promote the int value (rather than using intValue() on the expected value) to avoid
            // any risk of truncation which could lead to a false positive.
            assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(IntMath.sqrt(x, mode)));
          }
        }
      }
    
      /* Relies on the correctness of sqrt(int, FLOOR). */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  9. src/bytes/buffer.go

    func (b *Buffer) Truncate(n int) {
    	if n == 0 {
    		b.Reset()
    		return
    	}
    	b.lastRead = opInvalid
    	if n < 0 || n > b.Len() {
    		panic("bytes.Buffer: truncation out of range")
    	}
    	b.buf = b.buf[:b.off+n]
    }
    
    // Reset resets the buffer to be empty,
    // but it retains the underlying storage for use by future writes.
    // Reset is the same as [Buffer.Truncate](0).
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/IntMathTest.java

            // The BigInteger implementation is tested separately, use it as the reference.
            // Promote the int value (rather than using intValue() on the expected value) to avoid
            // any risk of truncation which could lead to a false positive.
            assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(IntMath.sqrt(x, mode)));
          }
        }
      }
    
      /* Relies on the correctness of sqrt(int, FLOOR). */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
Back to top