- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 1,713 for Jake (0.03 sec)
-
src/bytes/example_test.go
b = strconv.AppendInt(b, int64(i), 10) b = append(b, ' ') buf.Write(b) } os.Stdout.Write(buf.Bytes()) // Output: 0 1 2 3 } func ExampleBuffer_Cap() { buf1 := bytes.NewBuffer(make([]byte, 10)) buf2 := bytes.NewBuffer(make([]byte, 0, 10)) fmt.Println(buf1.Cap()) fmt.Println(buf2.Cap()) // Output: // 10 // 10 } func ExampleBuffer_Grow() { var b bytes.Buffer b.Grow(64) bb := b.Bytes()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
{!> ../../docs_src/body_nested_models/tutorial001_py310.py!} ``` //// //// tab | Python 3.8+ ```Python hl_lines="14" {!> ../../docs_src/body_nested_models/tutorial001.py!} ``` //// This will make `tags` be a list, although it doesn't declare the type of the elements of the list. ## List fields with type parameter But Python has a specific way to declare lists with internal types, or "type parameters":
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/net.go
if globalMinioConsoleHost == "" { ipList = sortIPs(localIP4.ToSlice()) ipList = append(ipList, localIP6.ToSlice()...) } else { ipList = []string{globalMinioConsoleHost} } consoleEndpoints = make([]string, 0, len(ipList)) for _, ip := range ipList { consoleEndpoints = append(consoleEndpoints, getURLScheme(globalIsTLS)+"://"+net.JoinHostPort(ip, globalMinioConsolePort)) } return consoleEndpoints }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/handler-api.go
// Existing requests will use the previous limit, // but new requests will use the new limit. // There will be a short overlap window, // but this shouldn't last long. t.requestsPool = make(chan struct{}, apiRequestsMaxPerNode) } listQuorum := cfg.ListQuorum if listQuorum == "" { listQuorum = "strict" } t.listQuorum = listQuorum if r := globalReplicationPool.GetNonBlocking(); r != nil &&
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 17:07:10 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
MoreFiles.touch(temp); assertThat(Files.getLastModifiedTime(temp).toMillis()).isNotEqualTo(0); } public void testCreateParentDirectories_root() throws IOException { // We use a fake filesystem to sidestep flaky problems with Windows (b/136041958). try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) { Path root = fs.getRootDirectories().iterator().next();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
docs/en/docs/advanced/sub-applications.md
### Technical Details: `root_path` When you mount a sub-application as described above, FastAPI will take care of communicating the mount path for the sub-application using a mechanism from the ASGI specification called a `root_path`. That way, the sub-application will know to use that path prefix for the docs UI.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/testing-dependencies.md
An example could be that you have an external authentication provider that you need to call. You send it a token and it returns an authenticated user. This provider might be charging you per request, and calling it might take some extra time than if you had a fixed mock user for tests. You probably want to test the external provider once, but not necessarily call it for every test that runs.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
cmd/xl-storage-free-version.go
} freeEntry := xlMetaV2Version{Type: DeleteType, WrittenByVersion: globalVersionUnix} freeEntry.DeleteMarker = &xlMetaV2DeleteMarker{ VersionID: vID, ModTime: j.ModTime, // fi.ModTime may be empty MetaSys: make(map[string][]byte), } freeEntry.DeleteMarker.MetaSys[ReservedMetadataPrefixLower+freeVersion] = []byte{} tierKey := ReservedMetadataPrefixLower + TransitionTier
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/en/docs/advanced/templates.md
A common choice is Jinja2, the same one used by Flask and other tools. There are utilities to configure it easily that you can use directly in your **FastAPI** application (provided by Starlette). ## Install dependencies Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and install `jinja2`: <div class="termy"> ```console $ pip install jinja2 ---> 100% ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0)