- Sort Score
- Result 10 results
- Languages All
Results 6331 - 6340 of 7,200 for RETURN (0.12 sec)
-
src/test/java/jcifs/internal/util/StringUtilTest.java
// Fifth: sb.length() > 0, add "-" + null (sb becomes "null-value--null") assertEquals("null-value--null", result); } @Test @DisplayName("Should return empty string for zero elements") void testJoinWithNoElements() { String result = StringUtil.join(","); assertEquals("", result); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
// yet started execution. synchronized (this) { if (!executed) { runnables = new RunnableExecutorPair(runnable, executor, runnables); return; } } // Execute the runnable immediately. Because of scheduling this may end up getting called before // some of the previously added runnables, but we're OK with that. If we want to change theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
private static <T> Type aTypeVariable() { return new TypeCapture<T>() {}.capture(); } private static <T> Type aWildcardType() { ParameterizedType parameterizedType = (ParameterizedType) new TypeCapture<List<? extends T>>() {}.capture(); return parameterizedType.getActualTypeArguments()[0]; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
assertTrue(bytesRead <= buffer.length); } /** * Helper method to create a valid security descriptor buffer */ private byte[] createValidSecurityDescriptorBuffer() { return createValidSecurityDescriptorBuffer(100); } /** * Helper method to create a valid security descriptor buffer with specified size */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
class SizeTests { @Test @DisplayName("Should return constant size of 24 bytes") void testSize() { lock = new Smb2Lock(100L, 200L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK); assertEquals(24, lock.size()); } @ParameterizedTest @DisplayName("Should return 24 bytes regardless of parameters")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
transport.tconHostName = "testHost"; // Setup session.transport field (accessed directly in SmbTree) session.transport = transport; // Setup session to return transport via method call when(session.transport()).thenReturn(transport); } @Test void testConstructor() { // Test constructor with a specific service
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
docs/pt/docs/advanced/security/http-basic-auth.md
{* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *} Isso seria parecido com: ```Python if not (credentials.username == "stanleyjobson") or not (credentials.password == "swordfish"): # Return some error ... ``` Porém, ao utilizar o `secrets.compare_digest()`, isso estará seguro contra um tipo de ataque chamado "timing attacks" (ataques de temporização). ### Ataques de Temporização { #timing-attacks }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 5.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
out.write(data); assertThat(source.read()).isEqualTo(data); out.close(); } private static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); } private static boolean isWindows() { return OS_NAME.value().startsWith("Windows"); } /** * Test that verifies the resource leak fix for <aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 16:30:29 UTC 2025 - 6.7K bytes - Viewed (0) -
cmd/generic-handlers_test.go
xhttp "github.com/minio/minio/internal/http" ) // Tests request guess function for net/rpc requests. func TestGuessIsRPC(t *testing.T) { if guessIsRPCReq(nil) { t.Fatal("Unexpected return for nil request") } u, err := url.Parse("http://localhost:9000/minio/lock") if err != nil { t.Fatal(err) } r := &http.Request{ Proto: "HTTP/1.0", Method: http.MethodPost, URL: u,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0)