- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 2,682 for latch (0.02 seconds)
-
tests/test_operations_signatures.py
import inspect from fastapi import APIRouter, FastAPI method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"] def test_signatures_consistency(): base_sig = inspect.signature(APIRouter.get) for method_name in method_names: router_method = getattr(APIRouter, method_name) app_method = getattr(FastAPI, method_name) router_sig = inspect.signature(router_method)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon May 27 12:08:13 GMT 2019 - 934 bytes - Click Count (0) -
cmd/batchjobmetric_string.go
// Code generated by "stringer -type=batchJobMetric -trimprefix=batchJobMetric batch-handlers.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[batchJobMetricReplication-0] _ = x[batchJobMetricKeyRotation-1] _ = x[batchJobMetricExpire-2] }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Dec 02 10:51:33 GMT 2023 - 797 bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java
String testMessage = "This is a test message for NdrException."; NdrException exception = new NdrException(testMessage); assertEquals(testMessage, exception.getMessage(), "The exception message should match the input message."); } /** * Test the NO_NULL_REF static field. * Ensures that the static field holds the expected string value. */ @Test void testNoNullRefConstant() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.5K bytes - Click Count (0) -
lib/wasm/wasm_exec_node.js
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Aug 30 19:15:21 GMT 2024 - 1.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
// Test throwing and catching the exception String expectedMessage = "Expected error"; try { throw new FessSystemException(expectedMessage); } catch (FessSystemException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } } @Test public void test_throwAndCatchWithCause() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedSet.java
SortedSet<@Nullable Object> self = (SortedSet<@Nullable Object>) this; Object ceiling = self.tailSet(object).first(); return unsafeCompare(comparator(), ceiling, object) == 0; } catch (ClassCastException | NoSuchElementException | NullPointerException e) { return false; } } /** * A sensible definition of {@link #remove} in terms of the {@code iterator()} method of {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
} else if (this.server.encryptedPasswords) { // encrypted try { this.password = pwAuth.getAnsiHash(this.ctx, this.server.encryptionKey); } catch (final GeneralSecurityException e) { throw new RuntimeCIFSException("Failed to encrypt password", e); } this.passwordLength = this.password.length;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) { throw new AssertionError("malformed class path entry: " + entry, e); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java
/** * Returns the path matcher that unconditionally returns {@code true} for all files. * It should be the matcher returned by the other methods of this interface when the * given patterns match all files. * * @return path matcher that unconditionally returns {@code true} for all files */ @Nonnull PathMatcher includesAll(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 21 19:37:56 GMT 2025 - 7.5K bytes - Click Count (0) -
cmd/signature-v2_test.go
}, // (4) Should error when the signature does not match. { queryParams: map[string]string{ "Expires": fmt.Sprintf("%d", now.Unix()+60), "Signature": "badsignature", "AWSAccessKeyId": accessKey, }, expected: ErrSignatureDoesNotMatch, }, // (5) Should error when the signature does not match. { queryParams: map[string]string{Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8K bytes - Click Count (0)