- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 335 for wraps (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/config/config.go
return ge.msg } // ErrConfigNotFound is an error to indicate // that a config parameter is not found type ErrConfigNotFound struct { ErrConfigGeneric } // Error creates an error message and wraps // it with the error type specified in the type parameter func Error[T ErrorConfig, PT interface { *T setMsg(string) }](format string, vals ...any, ) T { pt := PT(new(T)) pt.setMsg(fmt.Sprintf(format, vals...))Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0) -
fastapi/routing.py
) -> Callable[[Any], AbstractAsyncContextManager[Any]]: """ Wrap a generator-based lifespan context into an async context manager. This is vendored from Starlette to avoid importing private symbols. """ cmgr = contextlib.contextmanager(lifespan_context) @functools.wraps(cmgr) def wrapper(app: Any) -> _AsyncLiftContextManager[Any]:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 193K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
cache.refresh(key); checkNothingLogged(); assertThat(countingLoader.getCount()).isEqualTo(3); } /** * Make sure LoadingCache correctly wraps ExecutionExceptions and UncheckedExecutionExceptions. */ public void testLoadingExceptionWithCause() { Exception cause = new Exception();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
src/bufio/bufio_test.go
var testInput = []byte("012\n345\n678\n9ab\ncde\nfgh\nijk\nlmn\nopq\nrst\nuvw\nxy") var testInputrn = []byte("012\r\n345\r\n678\r\n9ab\r\ncde\r\nfgh\r\nijk\r\nlmn\r\nopq\r\nrst\r\nuvw\r\nxy\r\n\n\r\n") // TestReader wraps a []byte and returns reads of a specific length. type testReader struct { data []byte stride int } func (t *testReader) Read(buf []byte) (n int, err error) { n = t.stride if n > len(t.data) {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 01:08:54 GMT 2025 - 51.6K bytes - Click Count (0) -
src/cmd/cgo/doc.go
// C data with explicit length to Go []byte func C.GoBytes(unsafe.Pointer, C.int) []byte As a special case, C.malloc does not call the C library malloc directly but instead calls a Go helper function that wraps the C library malloc but guarantees never to return nil. If C's malloc indicates out of memory, the helper function crashes the program, like when Go itself runs out
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 08 22:37:14 GMT 2025 - 43.9K bytes - Click Count (0) -
RELEASE.md
...
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
cmd/api-response_test.go
rw := httptest.NewRecorder() trw := &trackingResponseWriter{ResponseWriter: rw} wrap1 := &gzhttp.NoGzipResponseWriter{ResponseWriter: trw} wrap2 := &gzhttp.NoGzipResponseWriter{ResponseWriter: wrap1} if headersAlreadyWritten(wrap2) { t.Fatal("headers have not been written yet") } wrap2.WriteHeader(123) if !headersAlreadyWritten(wrap2) { t.Fatal("headers were written") } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:19 GMT 2025 - 5.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
added("Method", "SourceKt.wrap(java.lang.Iterable,java.util.Iterator,java.util.ListIterator)"), added("Method", "SourceKt.wrap(java.util.Collection)"), added("Method", "SourceKt.wrap(java.util.HashMap,java.util.LinkedHashMap)"), added("Method", "SourceKt.wrap(java.util.List,java.util.ArrayList)"), added("Method", "SourceKt.wrap(java.util.Map,java.util.Map\$Entry)"),
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Jun 06 17:52:09 GMT 2025 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java
*/ runConcurrentlyMutatedTest(elements(), ops(add(1), add(2)), wrap); runConcurrentlyMutatedTest(elements(), ops(add(1), nop()), wrap); runConcurrentlyMutatedTest(elements(), ops(add(1), remove()), wrap); runConcurrentlyMutatedTest(elements(), ops(nop(), add(1)), wrap); runConcurrentlyMutatedTest(elements(1), ops(remove(), nop()), wrap); runConcurrentlyMutatedTest(elements(1), ops(remove(), add(2)), wrap);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ForwardingTableTest.java
return wrap((Table<?, ?, ?>) delegate); } }); } public void testEquals() { Table<Integer, Integer, String> table1 = ImmutableTable.of(1, 1, "one"); Table<Integer, Integer, String> table2 = ImmutableTable.of(2, 2, "two"); new EqualsTester() .addEqualityGroup(table1, wrap(table1), wrap(table1)) .addEqualityGroup(table2, wrap(table2))Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.9K bytes - Click Count (0)