- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 1,127 for want (0.02 seconds)
-
src/bufio/scan_test.go
scanner := NewScanner(&r) c := 0 for scanner.Scan() { c++ if c > 1 { t.Error("read too many lines") break } } if got, want := scanner.Err(), ErrBadReadCount; got != want { t.Errorf("scanner.Err: got %v, want %v", got, want) } } // largeReader returns an invalid count that is larger than the number // of bytes requested. type largeReader struct{}
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle_ide_fragment.xml
<?xml version="1.0"?> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> <!-- There are some rules that we only want to enable in an IDE. These --> <!-- are extracted to a separate file, and merged into the IDE-specific --> <!-- Checkstyle config by the `:configureIdeCheckstyle` task. --> <module name="IdeFragment">Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jul 21 18:58:39 GMT 2021 - 1.9K bytes - Click Count (0) -
cmd/xl-storage-format-v2_test.go
test.input[i], test.input[j] = test.input[j], test.input[i] }) got := mergeXLV2Versions(test.quorum, true, 0, test.input...) if !reflect.DeepEqual(test.want, got) { t.Errorf("want %v != got %v", test.want, got) } }) } }) } } func Test_mergeEntryChannels(t *testing.T) { dataZ, err := os.ReadFile("testdata/xl-meta-merge.zip") if err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantProgressLogger.java
this.squashedPrefix = squashedPrefix; } @Override public String apply(String line) { if (line.startsWith("\r\u001b")) { /* We don't want to try to be a full terminal emulator but we want to keep the escape sequences from leaking and catch _some_ of the meaning. */ line = line.substring(2); if ("[K".equals(line)) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 1.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LongAdderTest.java
/** * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests} * version, which checks package-private methods that we don't want to have to annotate as {@code * Nullable} because we don't want diffs from jsr166e. */ public void testNulls() {} public void testOverflows() { LongAdder longAdder = new LongAdder(); longAdder.add(Long.MAX_VALUE);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
src/bufio/net_test.go
// Leaves the server goroutine hanging. Oh well. t.Fatal(err) } defer wg.Wait() defer clientConn.Close() const data = "data" r := bufio.NewReader(strings.NewReader(data)) n, err := io.Copy(clientConn, r) if err != nil { t.Fatal(err) } if n != int64(len(data)) { t.Errorf("io.Copy returned %d, want %d", n, len(data)) } clientConn.Close() tot := <-ch if tot != len(data) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Feb 07 19:37:07 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/bucket/object/lock/lock_test.go
Mode: RetCompliance, Years: yearsPtr, }, }, }, want: "Enabled: true, Mode: COMPLIANCE, Years: 2", }, { name: "disabled case", c: Config{ ObjectLockEnabled: "Disabled", }, want: "Enabled: false", }, { name: "empty case", c: Config{}, want: "Enabled: false", }, } for _, tt := range tests { got := tt.c.String()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java
// It would be cool if there was a hook that I could use to set up a test environment. // I want to set up a local/remote repositories for testing but I don't want to have // to change them when I change the layout of the repositories. So I want to generate // the structure I want to test by using the artifact handler manager which dictates // the layout used for a particular artifact type. /** */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 26 10:49:22 GMT 2025 - 10.1K bytes - Click Count (0) -
.github/DISCUSSION_TEMPLATE/translations.yml
required: true - label: I am a native speaker of the language I want to help translate. required: true - type: input id: language attributes: label: Target Language description: What language do you want to translate the FastAPI docs into? placeholder: e.g. Latin validations: required: true - type: textareaCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jul 26 11:35:42 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
You can create your own custom response class, inheriting from `Response` and using it. For example, let's say that you want to use [`orjson`](https://github.com/ijl/orjson) with some settings. Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0)