- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 847 for wazero (0.05 sec)
-
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals((byte) 0xFD, aad[3]); // Verify signature is zeroed out (16 bytes of zeros) for (int i = 4; i < 20; i++) { assertEquals(0, aad[i], "Signature bytes should be zero in AAD"); } // Verify nonce matches at position 20 for (int i = 0; i < 16; i++) { assertEquals(testNonce[i], aad[20 + i], "Nonce should match at position " + (20 + i)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
throw formatRuntimeException( "Predicate did not become true within %d second timeout", timeoutSeconds); } /** * Waits until the given latch has {@linkplain CountDownLatch#countDown counted down} to zero, * invoking the garbage collector as necessary to try to ensure that this will happen. * * @throws RuntimeException if timed out or interrupted while waiting */ @SuppressWarnings("removal") // b/260137033
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early // These should pass through to the underlying implementation assertDoesNotThrow(() -> outputStream.write(data, 0, 10)); // valid - will consume first mock (10)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertNotNull(exception.getMessage()); assertTrue(exception.getMessage().contains("Expected structureSize = 4")); } @Test @DisplayName("Should handle zero structure size") void testZeroStructureSize() { // Given byte[] buffer = new byte[10]; SMBUtil.writeInt2(0, buffer, 0); // When & Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Chars.java
* @param a the first {@code char} to compare * @param b the second {@code char} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ @InlineMe(replacement = "Character.compare(a, b)") public static int compare(char a, char b) { return Character.compare(a, b); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* concat(new float[] {a, b}, new float[] {}, new float[] {c}} returns the array {@code {a, b, * c}}. * * @param arrays zero or more {@code float} arrays * @return a single array containing all the values from the source arrays, in order * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
}); assertEquals("Missing AvEOL", exception.getMessage(), "Should throw exception with correct message"); } /** * Test decode with invalid EOL (non-zero length) */ @Test @DisplayName("Decode should throw exception for invalid EOL length") void testDecodeInvalidEOL() { byte[] invalidEolData = new byte[6];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/bytes/example_test.go
clone[0] = 'd' fmt.Printf("%s\n", b) fmt.Printf("%s\n", clone) // Output: // abc // abc // dbc } func ExampleCompare() { // Interpret Compare's result by comparing it to zero. var a, b []byte if bytes.Compare(a, b) < 0 { // a less b } if bytes.Compare(a, b) <= 0 { // a less or equal b } if bytes.Compare(a, b) > 0 { // a greater b }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
throw formatRuntimeException( "Predicate did not become true within %d second timeout", timeoutSeconds); } /** * Waits until the given latch has {@linkplain CountDownLatch#countDown counted down} to zero, * invoking the garbage collector as necessary to try to ensure that this will happen. * * @throws RuntimeException if timed out or interrupted while waiting */ @SuppressWarnings("removal") // b/260137033
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeSet.java
import com.google.errorprone.annotations.DoNotMock; import java.util.NoSuchElementException; import java.util.Set; import org.jspecify.annotations.Nullable; /** * A set comprising zero or more {@linkplain Range#isEmpty nonempty}, {@linkplain * Range#isConnected(Range) disconnected} ranges of type {@code C}. * * <p>Implementations that choose to support the {@link #add(Range)} operation are required to
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.8K bytes - Viewed (0)