Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 307 for random (0.09 sec)

  1. cmd/veeam-sos-api.go

    //     Veeam Block Size for backup and restore processing before compression is applied. The higher the block size, the more
    //     backup space is needed for incremental backups. Larger block sizes also mean less performance for random read restore
    //     methods like Instant Restore, File Level Recovery, and Database/Application restores. Veeam recommends that vendors
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. docs/kms/IAM.md

    setting the env. variable `MINIO_KMS_SECRET_KEY`. It expects the following
    format:
    
    ```sh
    MINIO_KMS_SECRET_KEY=<key-name>:<base64-value>
    ```
    
    First generate a 256 bit random key via:
    
    ```sh
    $ cat /dev/urandom | head -c 32 | base64 -
    OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    ```
    
    Now, you can set `MINIO_KMS_SECRET_KEY` like this:
    
    ```sh
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

                    (byte) 0xAA,
                    (byte) 0x99,
                    (byte) 0x88))
            .isEqualTo(0xFFEEDDCCBBAA9988L);
      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Longs.BYTES];
    
        for (int i = 0; i < 1000; i++) {
          long num = r.nextLong();
          assertThat(Longs.fromByteArray(Longs.toByteArray(num))).isEqualTo(num);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.fromBytes((byte) 0xFE, (byte) 0xDC)).isEqualTo((short) 0xFEDC);
      }
    
      @GwtIncompatible // Shorts.fromByteArray, Shorts.toByteArray
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Shorts.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          short num = (short) r.nextInt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureCredentialStorage.java

                return null;
            }
    
            // Convert char[] to byte[] for encryption
            byte[] plaintextBytes = charsToBytes(plaintext);
    
            try {
                // Generate random IV
                byte[] iv = new byte[GCM_IV_SIZE];
                secureRandom.nextBytes(iv);
    
                // Setup cipher
                Cipher cipher = Cipher.getInstance(ENCRYPTION_ALGORITHM);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. docs/smb3-features/01-smb3-lease-design.md

    import java.util.Arrays;
    
    public class Smb2LeaseKey {
        private final byte[] key;  // 16-byte lease key
        private static final SecureRandom random = new SecureRandom();
        
        public Smb2LeaseKey() {
            this.key = new byte[16];
            random.nextBytes(this.key);
        }
        
        public Smb2LeaseKey(byte[] key) {
            if (key.length != 16) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            .isEqualTo(0x12131415);
        assertThat(Ints.fromBytes((byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC))
            .isEqualTo(0xFFEEDDCC);
      }
    
      public void testByteArrayRoundTrips() {
        Random r = new Random(5);
        byte[] b = new byte[Ints.BYTES];
    
        // total overkill, but, it takes 0.1 sec so why not...
        for (int i = 0; i < 10000; i++) {
          int num = r.nextInt();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

        }
    
        /**
         * Sets the size of results.
         * @param size The size.
         */
        public void setSize(final int size) {
            this.size = size;
        }
    
        /**
         * Sets the seed for random function.
         * @param seed The seed.
         */
        public void setSeed(final String seed) {
            this.seed = seed;
        }
    
        /**
         * Sets the window size for rescoring.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. callbacks/preload.go

    func preloadEntryPoint(db *gorm.DB, joins []string, relationships *schema.Relationships, preloads map[string][]interface{}, associationsConds []interface{}) error {
    	preloadMap := parsePreloadMap(db.Statement.Schema, preloads)
    
    	// avoid random traversal of the map
    	preloadNames := make([]string, 0, len(preloadMap))
    	for key := range preloadMap {
    		preloadNames = append(preloadNames, key)
    	}
    	sort.Strings(preloadNames)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted1 = storage.encryptCredentials(plaintext.clone());
            byte[] encrypted2 = storage.encryptCredentials(plaintext.clone());
    
            // Should produce different ciphertexts due to random IV
            assertFalse(Arrays.equals(encrypted1, encrypted2), "Different encryptions should produce different ciphertexts");
    
            // But both should decrypt to same plaintext
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top