- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,376 for sizeof (0.04 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
} @Test @DisplayName("Should calculate correct size") void testSize() { // When int size = request.size(); // Then // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 32 int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 32; // The size8 method aligns to 8-byte boundary int alignedSize = (expectedSize + 7) & ~7;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
* @see jcifs.internal.CommonServerMessageBlockRequest#size() */ @Override public int size() { final int size = Smb2Constants.SMB2_HEADER_LENGTH + 56; int dataLength = 0; if (this.inputData != null) { dataLength += this.inputData.size(); } if (this.outputData != null) { dataLength += this.outputData.size(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.4K bytes - Viewed (0) -
schema/schema.go
} return fmt.Sprintf("%s.%s", schema.ModelType.PkgPath(), schema.ModelType.Name()) } func (schema *Schema) MakeSlice() reflect.Value { slice := reflect.MakeSlice(reflect.SliceOf(reflect.PointerTo(schema.ModelType)), 0, 20) results := reflect.New(slice.Type()) results.Elem().Set(slice) return results } func (schema *Schema) LookUpField(name string) *Field {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 19 06:35:49 UTC 2025 - 12.9K bytes - Viewed (0) -
tensorflow/c/c_api.h
// For example, neither the C99 nor the C++11 standard force a byte // size on the bool type, so the macro defined in stdbool.h could // be inconsistent with the bool keyword in C++. Thus, the use // of stdbool.h is avoided and unsigned char is used instead. // * size_t is used to represent byte sizes of objects that are // materialized in the address space of the calling process.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
cmd/data-usage_test.go
{name: "rootfile", size: 10000}, {name: "rootfile2", size: 10000}, {name: "dir1/d1file", size: 2000}, {name: "dir2/d2file", size: 300}, {name: "dir2/d2file2", size: 300}, {name: "dir2/d2file3/", size: 300}, {name: "dir2/d2file4/", size: 300}, {name: "dir2/d2file5", size: 300}, {name: "dir1/dira/dafile", size: 100000}, {name: "dir1/dira/dbfile", size: 200000},
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
checkNotNull(other); int size = size(); if (other.length < size) { Object[] internal = internalArray(); if (internal != null) { return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other); } other = ObjectArrays.newArray(other, size); } else if (other.length > size) { other[size] = null; } copyIntoArray(other, 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode"); } // Validates equals() returns true for same-sized, equal-content blobs @Test @DisplayName("equals: identical content and size -> true") void equals_identicalContent_true() { // Arrange byte[] a = new byte[] { 1, 2, 3 }; byte[] b = new byte[] { 1, 2, 3 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/SmbNegotiationResponse.java
/** * Gets the negotiated send buffer size. * * @return the send buffer size */ int getSendBufferSize(); /** * Gets the negotiated receive buffer size. * * @return the receive buffer size */ int getReceiveBufferSize(); /** * Gets the negotiated maximum transaction buffer size. * * @return the transaction buffer size
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
cmd/utils_test.go
"strings" "testing" ) // Tests maximum object size. func TestMaxObjectSize(t *testing.T) { sizes := []struct { isMax bool size int64 }{ // Test - 1 - maximum object size. { true, globalMaxObjectSize + 1, }, // Test - 2 - not maximum object size. { false, globalMaxObjectSize - 1, }, } for i, s := range sizes { isMax := isMaxObjectSize(s.size)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
} /** * Rounds up the size to 8-byte alignment. * * @param size the size to align * @return the aligned size */ protected static final int size8(final int size) { return size8(size, 0); } /** * Rounds up the size to the specified alignment. * * @param size the size to align * @param align the alignment boundary
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0)