- Sort Score
- Result 10 results
- Languages All
Results 1121 - 1130 of 1,300 for empty (0.04 sec)
-
src/bufio/bufio_test.go
b := NewWriterSize(tw, BufSize) b.WriteString("123456789") // long string, empty buffer: tw.check(t, "", "123456789") // use WriteString } { tw := &teststringwriter{} b := NewWriterSize(tw, BufSize) b.WriteString("abc") tw.check(t, "", "") b.WriteString("123456789012345") // long string, non-empty buffer
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
} public void testInvertFrom() { ImmutableMultimap<Integer, String> empty = ImmutableMultimap.of(); // typical usage example - sad that ArrayListMultimap.create() won't work Multimap<String, Integer> multimap = Multimaps.invertFrom(empty, ArrayListMultimap.<String, Integer>create()); assertTrue(multimap.isEmpty());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
internal/config/identity/plugin/config.go
MaxSuccRTTMs float64 } // Metrics reports metrics related to plugin service reachability and stats for the last whole minute func (o *AuthNPlugin) Metrics() Metrics { if o == nil { // Return empty metrics when not configured. return Metrics{} } o.serviceMetrics.Lock() defer o.serviceMetrics.Unlock() l := &o.serviceMetrics.lastFullMinute var avg float64 if l.successRequestCount > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashCode.java
} /** * Creates a {@code HashCode} from a byte array. The array is defensively copied to preserve the * immutability contract of {@code HashCode}. The array cannot be empty. * * @since 15.0 (since 12.0 in HashCodes) */ public static HashCode fromBytes(byte[] bytes) { checkArgument(bytes.length >= 1, "A HashCode must contain at least 1 byte.");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:54:59 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
} else if strings.HasPrefix(s, "\n") || strings.Contains(s, "\n\n") { log.Printf("%s: contains a blank line", filename) exitCode = 1 } if s == "" { log.Printf("%s: empty file", filename) exitCode = 1 } else if s[len(s)-1] != '\n' { log.Printf("%s: missing final newline", filename) exitCode = 1 } s = aliasReplacer.Replace(s) lines := strings.Split(s, "\n")
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
cmd/local-locker_test.go
t.Fatalf("lockUID len, got %d, want %d + %d", len(l.lockUID), len(rResources), len(wResources)) } // Expire a minute ago. l.expireOldLocks(-time.Minute) if len(l.lockMap) != 0 { t.Fatalf("after cleanup should be empty, got %d", len(l.lockMap)) } if len(l.lockUID) != 0 { t.Fatalf("lockUID len, got %d, want %d", len(l.lockUID), 0) } } func TestLocalLockerUnlock(t *testing.T) { const n = 1000 const m = 5
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 11.9K bytes - Viewed (0) -
cmd/metrics-v3-types.go
// // `renameLabels` is a map of label names to rename. The keys are the original // label names and the values are the new label names. // // `bucketFilter` is a list of bucket values to filter. If this is non-empty, // only metrics for the given buckets are added. // // `extraLabels` are additional labels to add to each metric. They are ordered // label name and value pairs.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 30 22:28:46 UTC 2024 - 15.6K bytes - Viewed (0) -
docs/en/docs/tutorial/bigger-applications.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
``` //// * `description: Union[str, None] = None` (or `str | None = None` in Python 3.10) has a default of `None`. * `tax: float = 10.5` has a default of `10.5`. * `tags: List[str] = []` has a default of an empty list: `[]`. but you might want to omit them from the result if they were not actually stored.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
input_index, " out of range for ", op_name); return nullptr; } const tensorflow::OpDef_ArgDef& input_arg = op_def->input_arg()[input_index]; if (input_arg.number_attr().empty()) { status->status = tensorflow::errors::NotFound( op_name, " does not have number_attr() defined."); return nullptr; }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0)