- Sort Score
- Num 10 results
- Language All
Results 5231 - 5240 of 7,804 for RETURN (0.06 seconds)
-
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertEquals(endpoint, dcerpcBinding.getOption("endpoint"), "Should return the set endpoint."); } @Test void testGetOptionOtherKey() throws DcerpcException { dcerpcBinding.setOption("connect", "80"); assertEquals("80", dcerpcBinding.getOption("connect"), "Should return the set option value."); } @Test void testGetOptionNonExistent() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
@Override protected int writeParametersWireFormat(byte[] dst, int dstIndex) { // Simulate the encoding exception path return 0; } }; byte[] dst = new byte[256]; int result = testEnum.writeParametersWireFormat(dst, 0); assertEquals(0, result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/FessLastaDocTest.java
// ## Act ## policeStoryOfJavaClassChase((srcFile, clazz) -> { if (clazz.isInterface() || Modifier.isAbstract(clazz.getModifiers())) { // e.g. BaseAction return; } final String className = clazz.getName(); if (className.contains(appWebPkg) && className.endsWith(actionSuffix)) { // ## Assert ## markHere("exists");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java
} private static class UnmarkableInputStream extends InputStream { @Override public int read() throws IOException { return 0; } @Override public boolean markSupported() { return false; } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
} private UpgradeContext createMockContext() { return TestUtils.createMockContext(); } @Test void testHelpExecuteReturnsZero() throws Exception { UpgradeContext context = createMockContext(); int result = help.execute(context); assertEquals(0, result, "Help goal should return 0 (success)"); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/Escaper.java
* "Foo<Bar>"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the * resulting XML document is parsed, the parser API will return this text as the original literal * string {@code "Foo<Bar>"}. * * <p>An {@code Escaper} instance is required to be stateless, and safe when used concurrently by * multiple threads. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 4.7K bytes - Click Count (0) -
tests/test_security_api_key_cookie_description.py
class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user def test_security_api_key(): client = TestClient(app, cookies={"key": "secret"}) response = client.get("/users/me")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.3K bytes - Click Count (0) -
helm/minio/templates/_helper_custom_command.txt
exit 1 ; fi ; sleep 2 ; # 1 second intervals between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # runCommand ($@) # Run custom mc command runCommand() { ${MC} "$@" return $? } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $schemeCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Feb 19 20:34:14 GMT 2022 - 1.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor(); taskDone = false; Callable<Boolean> task = () -> { taskDone = true; return taskDone; }; List<Future<Boolean>> futureList = executor.invokeAll(ImmutableList.of(task), 10, MILLISECONDS); Future<Boolean> future = futureList.get(0); assertFalse(taskDone);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java
ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor(); taskDone = false; Callable<Boolean> task = () -> { taskDone = true; return taskDone; }; List<Future<Boolean>> futureList = executor.invokeAll(ImmutableList.of(task), 10, MILLISECONDS); Future<Boolean> future = futureList.get(0); assertFalse(taskDone);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 3.3K bytes - Click Count (0)