- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 211 for assignment (0.54 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
} } @Nested @DisplayName("Size Calculation Tests") class SizeCalculationTests { @Test @DisplayName("Should calculate size8 without alignment") void testSize8NoAlignment() { assertEquals(8, ServerMessageBlock2.size8(8)); assertEquals(16, ServerMessageBlock2.size8(9)); assertEquals(16, ServerMessageBlock2.size8(15));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
} @Test @DisplayName("Arrays: non-null, same length, and exact contents") void arrays_are_well_formed_and_match() { // Validate arrays existence and alignment (edge and structure checks) assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null"); assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/smb3-features/02-persistent-handles-design.md
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 31.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java
return (flags & Smb2HandleCapabilities.SMB2_DHANDLE_FLAG_PERSISTENT) != 0; } @Override public int size() { // Context header (16) + name length (4) + padding to 8-byte alignment (4) + data (32) return 16 + 4 + 4 + STRUCTURE_SIZE; } @Override public int encode(byte[] dst, int dstIndex) { int start = dstIndex; // Write context header
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 5.2K bytes - Viewed (0) -
CONTRIBUTING.md
commit. Contributor License Agreement ----------------------------- Contributions to any Google project must be accompanied by a Contributor License Agreement. This is not a copyright _assignment_; it simply gives Google permission to use and redistribute your contributions as part of the project. - If you are an individual writing original source code and you're sure you
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 15 18:43:50 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertSame(transaction, result); } @Test @DisplayName("Test pad calculation with various offsets") void testPadCalculation() { // Test pad calculation with different alignment values assertEquals(0, transaction.pad(0)); // Already aligned assertEquals(0, transaction.pad(4)); // Already aligned assertEquals(0, transaction.pad(8)); // Already alignedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
* process it; all should produce the same answer, the only difference should be the number of * process()/processRemaining() invocations, due to alignment. */ @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android. public void testExhaustive() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/body-multiple-params.md
Tout d'abord, sachez que vous pouvez mélanger les déclarations des paramètres `Path`, `Query` et body, **FastAPI** saura quoi faire. Vous pouvez également déclarer des paramètres body comme étant optionnels, en leur assignant une valeur par défaut à `None` : {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *} /// noteRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 11:10:17 UTC 2024 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
assertTrue(Smb2Constants.SMB2_HEADER_LENGTH > 0, "Header length must be positive"); assertTrue(Smb2Constants.SMB2_HEADER_LENGTH % 8 == 0, "Header length should be multiple of 8 for alignment"); } @Test @DisplayName("Dialect ANY should encompass SMB2 range") void testDialectAnyRange() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/bytes/compare_test.go
{[]byte("a"), nil, 1}, {nil, []byte("a"), -1}, } func TestCompare(t *testing.T) { for _, tt := range compareTests { numShifts := 16 buffer := make([]byte, len(tt.b)+numShifts) // vary the input alignment of tt.b for offset := 0; offset <= numShifts; offset++ { shiftedB := buffer[offset : len(tt.b)+offset] copy(shiftedB, tt.b) cmp := Compare(tt.a, shiftedB) if cmp != tt.i {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0)