Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 194 for 256 (0.03 sec)

  1. cmd/format-erasure_test.go

    			}
    			if newFormats[i][j].ID != quorumFormat.ID {
    				t.Fatal("Deployment id in the new format is lost")
    			}
    		}
    	}
    }
    
    func BenchmarkInitStorageDisks256(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 256)
    }
    
    func BenchmarkInitStorageDisks1024(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 1024)
    }
    
    func BenchmarkInitStorageDisks2048(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 2048)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ACETest.java

                assertEquals(64, ACE.FILE_DELETE, "FILE_DELETE constant value");
                assertEquals(128, ACE.FILE_READ_ATTRIBUTES, "FILE_READ_ATTRIBUTES constant value");
                assertEquals(256, ACE.FILE_WRITE_ATTRIBUTES, "FILE_WRITE_ATTRIBUTES constant value");
    
                assertEquals(0x00010000, ACE.DELETE, "DELETE constant value");
                assertEquals(0x00020000, ACE.READ_CONTROL, "READ_CONTROL constant value");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
        void testReadBytesWireFormat() {
            // Given
            byte[] buffer = createTestData(256);
    
            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "U4.50", // #2
            "R0.00, R1.38, R1.13", // #3, after that the rate changes
            "R0.88", // #4, this is what the throttling would be with the old rate
            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. cmd/metacache-stream.go

    		}
    		// Read name without allocating more than 1 buffer.
    		sz, err := r.mr.ReadStringHeader()
    		if err != nil {
    			r.err = err
    			return err
    		}
    		if cap(tmp) < int(sz) {
    			tmp = make([]byte, 0, sz+256)
    		}
    		tmp = tmp[:sz]
    		_, err = r.mr.R.ReadFull(tmp)
    		if err != nil {
    			r.err = err
    			return err
    		}
    		if string(tmp) >= s {
    			r.current.name = string(tmp)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

        }
    
        @Test
        @DisplayName("Should handle large session key")
        void testDeriveKeys_LargeSessionKey() {
            // Given
            byte[] largeSessionKey = new byte[256]; // Larger than typical 16-byte key
            new SecureRandom().nextBytes(largeSessionKey);
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(tree.send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY))).thenReturn(ioctlResp);
            when(ioctlResp.getOutputLength()).thenReturn(42);
    
            byte[] in = new byte[128];
            byte[] out = new byte[256];
    
            // Act
            int n = handle.sendrecv(out, 1, 10, in, 128);
    
            // Assert
            assertEquals(42, n);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. tests/migrate_test.go

    				t.Fatalf("birthday's precision should be 2, but got %v", precision)
    			}
    		}
    	}
    
    	type UserMigrateColumn3 struct {
    		ID                  uint
    		Name                string    `gorm:"size:256"`
    		Salary              float64   `gorm:"precision:3"`
    		Birthday            time.Time `gorm:"precision:3"`
    		NameIgnoreMigration string    `gorm:"size:128;-:migration"`
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SID.java

            } else {
                id = Long.parseLong(tmp);
            }
    
            this.identifier_authority = new byte[6];
            for (int i = 5; id > 0; i--) {
                this.identifier_authority[i] = (byte) (id % 256);
                id >>= 8;
            }
    
            this.sub_authority_count = (byte) st.countTokens();
            if (this.sub_authority_count > 0) {
                this.sub_authority = new int[this.sub_authority_count];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top