- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 33 for set_size (0.06 seconds)
-
guava/src/com/google/common/base/SmallCharMatcher.java
* can hold setSize elements with the desired load factor. */ @VisibleForTesting static int chooseTableSize(int setSize) { if (setSize == 1) { return 2; } // Correct the size for open addressing to match desired load factor. // Round up to the next highest power of 2. int tableSize = Integer.highestOneBit(setSize - 1) << 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
* can hold setSize elements with the desired load factor. */ @VisibleForTesting static int chooseTableSize(int setSize) { if (setSize == 1) { return 2; } // Correct the size for open addressing to match desired load factor. // Round up to the next highest power of 2. int tableSize = Integer.highestOneBit(setSize - 1) << 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Mockito.when(mock.getLastAccessTime()).thenReturn(17L); Mockito.when(mock.getSize()).thenReturn(19L); // Act: invoke each method once int attributes = mock.getAttributes(); long c = mock.getCreateTime(); long w = mock.getLastWriteTime(); long a = mock.getLastAccessTime(); long s = mock.getSize(); // Assert: values and interactions
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.6K bytes - Click Count (0) -
docs/debugging/reorder-disks/main.go
if err != nil { log.Fatal(err) } setSize := len(format.XL.Sets[0]) expectedDisksName := make(map[string]string) actualDisksName := make(map[string]string) // Calculate the set/disk index for _, disk := range localDisks { expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path format, err := getFormatJSON(disk.path) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/storage/StorageItemTest.java
assertEquals(2048576L, item.getSize()); assertEquals(now, item.getLastModified()); } public void test_nullValues() { final StorageItem item = new StorageItem(null, null, false, 0L, null, null); assertNull(item.getName()); assertNull(item.getPath()); assertFalse(item.isDirectory()); assertEquals(0L, item.getSize()); assertNull(item.getLastModified());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 12:58:11 GMT 2026 - 4.6K bytes - Click Count (0) -
internal/disk/fdatasync_linux.go
// do not require flushing because they are not necessary for a subsequent data // read to be handled correctly. On the other hand, a change to the file size // (st_size, as made by say ftruncate(2)), would require a metadata flush. // // The aim of fdatasync() is to reduce disk activity for applications that // do not require all metadata to be synchronized with the disk.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 29 23:40:28 GMT 2021 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.idl
int type; [string] wchar_t *remark; uint32_t permissions; uint32_t max_uses; uint32_t current_uses; [string] wchar_t *path; [string] wchar_t *password; uint32_t sd_size; [size_is(sd_size)] uint8_t *security_descriptor; } ShareInfo502; typedef struct { int count; [size_is(count)] ShareInfo502 *array; } ShareInfoCtr502; typedef [switch_type(int)] union {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
assertEquals(serverTimeZoneOffset, response.getLastWriteTime()); } /** * Test of getSize method, of class SmbComQueryInformationResponse. */ @Test public void testGetSize() { // Initially, fileSize should be 0. assertEquals(0, response.getSize()); } /** * Test of writeParameterWordsWireFormat method, of class SmbComQueryInformationResponse. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl
int type; [string] wchar_t *remark; uint32_t permissions; uint32_t max_uses; uint32_t current_uses; [string] wchar_t *path; [string] wchar_t *password; uint32_t sd_size; [size_is(sd_size)] uint8_t *security_descriptor; } ShareInfo502; typedef struct { int count; [size_is(count)] ShareInfo502 *array; } ShareInfoCtr502; typedef [switch_type(int)] union {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 2.2K bytes - Click Count (0)