- Sort Score
- Result 10 results
- Languages All
Results 1051 - 1060 of 6,799 for _return (0.09 sec)
-
cmd/api-headers.go
if err := xxml.NewEncoder(&buf).Encode(response); err != nil { bugLogIf(GlobalContext, err) return nil } return buf.Bytes() } // Encodes the response headers into JSON format. func encodeResponseJSON(response interface{}) []byte { var bytesBuffer bytes.Buffer e := json.NewEncoder(&bytesBuffer) e.Encode(response) return bytesBuffer.Bytes() } // Write parts count
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 04:44:00 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
int index = aValidIndex(); E initialValue = getList().get(index); assertEquals( "set(i, x) should return the old element at position i.", initialValue, getList().set(index, newValue)); assertEquals("After set(i, x), get(i) should return x", newValue, getList().get(index)); assertEquals("set() should not change the size of a list.", getNumElements(), getList().size()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.2K bytes - Viewed (0) -
docs/en/docs/how-to/extending-openapi.md
The normal (default) process, is as follows. A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema. As part of the application object creation, a *path operation* for `/openapi.json` (or for whatever you set your `openapi_url`) is registered. It just returns a JSON response with the result of the application's `.openapi()` method.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 22:39:38 UTC 2024 - 3.1K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/cluster.go
if iSubset == jSubset { if iPort == jPort { return iDirection < jDirection } return iPort < jPort } return iSubset < jSubset } return iName < jName }) return clusters, nil } func safelyParseSubsetKey(key string) (model.TrafficDirection, string, host.Name, int) { if len(strings.Split(key, "|")) > 3 { return model.ParseSubsetKey(key) } name := host.Name(key)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
public Lock get() { return new ReentrantLock(true); } }; private static final Supplier<Semaphore> SEMAPHORE_SUPPLER = new Supplier<Semaphore>() { @Override public Semaphore get() { return new Semaphore(1, false); } }; private static List<Striped<?>> weakImplementations() { return ImmutableList.<Striped<?>>builder()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
public Lock get() { return new ReentrantLock(true); } }; private static final Supplier<Semaphore> SEMAPHORE_SUPPLER = new Supplier<Semaphore>() { @Override public Semaphore get() { return new Semaphore(1, false); } }; private static List<Striped<?>> weakImplementations() { return ImmutableList.<Striped<?>>builder()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
} return reference; } private boolean isNoteworthyException(Throwable exception) { if (exception == null) { return false; } else if (exception instanceof Error) { return true; } else if (exception instanceof RuntimeException) { return false; } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
assertTrue(Files.isFile().apply(asciiFile)); } /** Returns a root path for the file system. */ private static File root() { return File.listRoots()[0]; } /** Returns a {@code File} object for the given path parts. */ private static File file(String first, String... more) { return file(new File(first), more); } /** Returns a {@code File} object for the given path parts. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Platform.java
*/ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault final class Platform { private Platform() {} /** Returns a thread-local 1024-char array. */ static char[] charBufferFromThreadLocal() { // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get return requireNonNull(DEST_TL.get()); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 1.6K bytes - Viewed (0) -
internal/disk/type_linux.go
"2fc12fc1": "zfs", "ff534d42": "cifs", "53464846": "wslfs", } // getFSType returns the filesystem type of the underlying mounted filesystem func getFSType(ftype int64) string { fsTypeHex := strconv.FormatInt(ftype, 16) fsTypeString, ok := fsType2StringMap[fsTypeHex] if !ok { return "UNKNOWN" } return fsTypeString
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.6K bytes - Viewed (0)