- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 180 for tryFind (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
int offset = 10; // Only 10 bytes remaining, need 16 SMBUtil.writeInt2(16, buffer, offset); // Write valid structure size // When & Then - Will throw SMBProtocolDecodingException when trying to read beyond buffer assertThrows(ArrayIndexOutOfBoundsException.class, () -> { response.readBytesWireFormat(buffer, offset); }); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/index.md
And then it just returns a `dict` containing those values. /// info FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0. If you have an older version, you would get errors when trying to use `Annotated`. Make sure you [Upgrade the FastAPI version](../../deployment/versions.md#upgrading-the-fastapi-versions) to at least 0.95.1 before using `Annotated`. /// ### Import `Depends` { #import-depends }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Account locked out - this is expected behavior in concurrent scenario blockedAttempts.incrementAndGet(); break; // Stop trying if account is locked } if (!allowed) { // Rate limited but not locked outCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
public void testAssignableParameterizedTypeToClass() { @SuppressWarnings("rawtypes") // Trying to test raw class TypeToken<List> tokL = new TypeToken<List>() {}; assertTrue(tokL.isSupertypeOf(StringList.class)); assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0])); @SuppressWarnings("rawtypes") // Trying to test raw class TypeToken<Second> tokS = new TypeToken<Second>() {};
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 89.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
ASN1Sequence seq = new DERSequence(v); // Act + Assert // Note: The actual error will be from ASN1Util.as() trying to cast to ASN1TaggedObject assertThrows(PACDecodingException.class, () -> new KerberosApRequest(seq, null)); } @Test @DisplayName("seq ctor: tag 3 APPLICATION triggers ticket parsing")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
okhttp/build.gradle.kts
} withDeviceTest { instrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" execution = "HOST" } // SDK 35 needs 17, for now avoid trying to run on // multiple robolectric versions, since device tests // do that if (testJavaVersion >= 17) { withHostTest { isIncludeAndroidResources = true } } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Feb 04 22:16:39 GMT 2026 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ReaderInputStream.java
reader.close(); } @Override public int read() throws IOException { return (read(singleByte) == 1) ? toUnsignedInt(singleByte[0]) : -1; } // TODO(chrisn): Consider trying to encode/flush directly to the argument byte // buffer when possible. @Override public int read(byte[] b, int off, int len) throws IOException { // Obey InputStream contract.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
void testWriteBytesWireFormatWithNullFileId() { Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null); byte[] buffer = new byte[256]; // Should throw NullPointerException when trying to copy null array assertThrows(NullPointerException.class, () -> { requestWithNull.writeBytesWireFormat(buffer, 0); }); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
internal/grid/README.md
CAREFUL: When utilizing two-way communication, it is important to ensure that the remote handler is not blocked on a send. If the remote handler is blocked on a send, and the client is trying to send without the remote receiving, the operation would become deadlocked if the channels are full. ### Typed handlers Typed handlers are handlers that have a specific type for the request and response payloads.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
* used for another unchecked exception, an exception during string formatting would serve little * purpose except to supplant the real information you were trying to provide. These are the cases * this method is made for; it instead generates a best-effort string with all supplied argument * values present. This method is also useful in environments such as GWT where {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0)