- Sort Score
- Num 10 results
- Language All
Results 911 - 920 of 1,030 for must (0.04 seconds)
-
src/bufio/example_test.go
for scanner.Scan() { fmt.Println(scanner.Text()) // Println will add back the final '\n' } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading standard input:", err) } } // Return the most recent call to Scan as a []byte. func ExampleScanner_Bytes() { scanner := bufio.NewScanner(strings.NewReader("gopher")) for scanner.Scan() { fmt.Println(len(scanner.Bytes()) == 6) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
internal/config/subnet/config.go
cfg.APIKey = strings.TrimSpace(env.Get(config.EnvMinIOSubnetAPIKey, kvs.Get(config.APIKey))) cfg.Proxy = proxy if transport == nil { // when transport is nil, it means we are just validating the // inputs not performing any network calls. return cfg, nil } // Make sure to clone the transport before editing the ProxyURL if proxyURL != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.9K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/11-language-change.yml
- type: input id: author-other-languages-experience attributes: label: "Other Languages Experience" description: "What other languages do you have experience with?" placeholder: "Go, Python, JS, Rust" validations: required: false - type: checkboxes id: related-idea attributes: label: "Related Idea" options:Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 08 19:02:29 GMT 2024 - 4.7K bytes - Click Count (0) -
tests/test_path.py
assert response.json() == { "detail": [ { "type": "string_too_long", "loc": ["path", "item_id"], "msg": "String should have at most 3 characters", "input": "foobar", "ctx": {"max_length": 3}, } ] } def test_path_param_min_maxlength_foo():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 20.5K bytes - Click Count (2) -
docs/en/docs/advanced/websockets.md
{* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *} /// note | Technical Details You could also use `from starlette.websockets import WebSocket`. **FastAPI** provides the same `WebSocket` directly just as a convenience for you, the developer. But it comes directly from Starlette. /// ## Await for messages and send messages { #await-for-messages-and-send-messages }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Type.java
*/ boolean isIncludesDependencies(); /** * Types of path (class-path, module-path, …) where the dependency can be placed. * For most deterministic builds, the array length should be 1. In such case, * the dependency will be unconditionally placed on the specified type of path * and no heuristic rule will be involved. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java
Calendar cal = Calendar.getInstance(); cal.setTimeZone(MavenBuildTimestamp.DEFAULT_BUILD_TIME_ZONE); cal.set(Calendar.HOUR, 12); cal.set(Calendar.AM_PM, Calendar.AM); // just to make sure all the bases are covered... cal.set(Calendar.HOUR_OF_DAY, 0); cal.set(Calendar.MINUTE, 16); cal.set(Calendar.SECOND, 0); cal.set(Calendar.YEAR, 1976);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 18.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
// Second call should be faster (though this is not guaranteed in all environments) // We mainly verify that both calls work correctly assertTrue(time2 >= 0, "Expected " + time2 + " to be >= " + 0); // Just verify it completed } @Test void testCacheClearance() throws Exception { TestBean bean = new TestBean(); PlexusConfiguration config = new XmlPlexusConfiguration("test");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 8.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
/** * This method finds out whether collecting projects failed because of the following scenario: * - A multi-module project containing a module which is a plugin and another module which depends on it. * - Just the plugin is being built with the -f <pom> flag. * - Because of inter-module dependency collection, all projects in the multi-module project are collected. * - The plugin is not yet installed in a repository. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9.1K bytes - Click Count (0) -
cmd/untar.go
wg.Wait() extra := "" if n > 0 { extra = fmt.Sprintf(" after %d successful object(s)", n) } return fmt.Errorf("tar file error: %w%s", err, extra) // if the header is nil, just skip it (not sure how this happens) case header == nil: continue } name := header.Name switch path.Clean(name) { case ".", slashSeparator: continue }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2)