- Sort Score
- Result 10 results
- Languages All
Results 2241 - 2250 of 2,362 for treats (0.08 sec)
-
cmd/xl-storage-format_test.go
func TestIsXLMetaFormatValid(t *testing.T) { tests := []struct { name int version string format string want bool }{ {1, "123", "fs", false}, {2, "123", xlMetaFormat, false}, {3, xlMetaVersion100, "test", false}, {4, xlMetaVersion101, "hello", false}, {5, xlMetaVersion100, xlMetaFormat, true}, {6, xlMetaVersion101, xlMetaFormat, true}, } for _, tt := range tests {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
// TODO: track seen elements when order isn't guaranteed // TODO: verify contents afterward // TODO: something shiny and new instead of Stack // TODO: test whether null is supported (create a Feature) /** * The elements to be returned by future calls to {@code next()}, with the first at the top of * the stack. */ final Stack<E> nextElements = new Stack<>(); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* approaches to this</a> that should be considered first) * </ul> * * <p>A common alternative to using this class is to find or create a suitable <a * href="http://en.wikipedia.org/wiki/Null_Object_pattern">null object</a> for the type in question. * * <p>This class is not intended as a direct analogue of any existing "option" or "maybe" construct
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 15.4K bytes - Viewed (0) -
src/bufio/scan_test.go
"", } testNoNewline(text, lines, t) } var testError = errors.New("testError") // Test the correct error is returned when the split function errors out. func TestSplitError(t *testing.T) { // Create a split function that delivers a little data, then a predictable error. numSplits := 0 const okCount = 7 errorSplit := func(data []byte, atEOF bool) (advance int, token []byte, err error) { if atEOF {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testMergeSorted_pyramid() { List<Iterable<Integer>> iterables = Lists.newLinkedList(); List<Integer> allIntegers = Lists.newArrayList(); // Creates iterators like: {{}, {0}, {0, 1}, {0, 1, 2}, ...} for (int i = 0; i < 10; i++) { List<Integer> list = Lists.newLinkedList(); for (int j = 0; j < i; j++) { list.add(j);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 19:12:33 UTC 2024 - 45K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/OrderingTest.java
public boolean equals(@Nullable Object other) { return other instanceof NumberOrdering; } private static final long serialVersionUID = 0; } /* * Now we have monster tests that create hundreds of Orderings using different * combinations of methods, then checks compare(), binarySearch() and so * forth on each one. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/OrderingTest.java
public boolean equals(@Nullable Object other) { return other instanceof NumberOrdering; } private static final long serialVersionUID = 0; } /* * Now we have monster tests that create hundreds of Orderings using different * combinations of methods, then checks compare(), binarySearch() and so * forth on each one. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 42.6K bytes - Viewed (0) -
docs/zh/docs/async.md
```Python hl_lines="1" async def get_burgers(number: int): # Do some asynchronous stuff to create the burgers return burgers ``` ...而不是 `def`: ```Python hl_lines="2" # This is not asynchronous def get_sequential_burgers(number: int): # Do some sequential stuff to create the burgers return burgers ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 21.1K bytes - Viewed (0) -
cmd/metrics-resource.go
go publish(globalNotificationSys.GetResourceMetrics(GlobalContext)) wg.Wait() } // newMinioResourceCollector describes the collector // and returns reference of minio resource Collector // It creates the Prometheus Description which is used // to define Metric and help string func newMinioResourceCollector(metricsGroups []*MetricsGroupV2) *minioResourceCollector { return &minioResourceCollector{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 23:30:33 UTC 2024 - 17.2K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
EnableIPv6 bool `json:"ENABLE_INBOUND_IPV6"` RedirectDNS bool `json:"REDIRECT_DNS"` // If true, TPROXY will be used for redirection. Else, REDIRECT will be used. // Currently, this is treated as a feature flag, but may be promoted to a permanent feature if there is a need. TPROXYRedirection bool `json:"TPROXY_REDIRECTION"` } type IptablesConfigurator struct { ext dep.Dependencies
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 23.3K bytes - Viewed (0)