- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 1,563 for examples (0.1 sec)
-
cmd/metacache.go
} else if serverDebugLog { console.Debugln("error refreshing", m.id, time.Now().Format(time.RFC3339)) } } } } // baseDirFromPrefix will return the base directory given an object path. // For example an object with name prefix/folder/object.ext will return `prefix/folder/`. func baseDirFromPrefix(prefix string) string { b := path.Dir(prefix) if b == "." || b == "./" || b == "/" { b = "" }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
*/ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class TestEnumMapGenerator implements TestMapGenerator<AnEnum, String> { @Override public SampleElements<Entry<AnEnum, String>> samples() { return new SampleElements<>( mapEntry(AnEnum.A, "January"), mapEntry(AnEnum.B, "February"), mapEntry(AnEnum.C, "March"), mapEntry(AnEnum.D, "April"),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
} @Override BaseGraph<N> delegate() { return backingGraph; } /** * A builder for creating {@link ImmutableGraph} instances, especially {@code static final} * graphs. Example: * * <pre>{@code * static final ImmutableGraph<Country> COUNTRY_ADJACENCY_GRAPH = * GraphBuilder.undirected() * .<Country>immutable() * .putEdge(FRANCE, GERMANY)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 01 16:30:37 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestTrimFrom("x--x", "x--x"); doTestTrimFrom("x-x-", "x-x"); doTestTrimFrom("x-xx", "x-xx"); doTestTrimFrom("x-x--xx---x----x", "x-x--xx---x----x"); // additional testing using the doc example assertEquals("cat", anyOf("ab").trimFrom("abacatbab")); } private void doTestTrimFrom(String in, String out) { // Try a few different matchers which all match '-' and not 'x'
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1beta1/generated.proto
// Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). // Absolute number is calculated from percentage by rounding down. // This can not be 0 if MaxSurge is 0. // Defaults to 25%. // Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods // immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/TimeLimiter.java
* implementation-dependent. However, it is important that each of the methods on the target * object behaves appropriately when its thread is interrupted. * * <p>For example, to return the value of {@code target.someMethod()}, but substitute {@code * DEFAULT_VALUE} if this method call takes over 50 ms, you can use this code: * * <pre> * TimeLimiter limiter = . . .;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 15.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
* and well as their responses for each type however the actuall implementations * of the readXxxWireFormat and writeXxxWireFormat methods may not be in * place. For example at the time of this writing the readXxxWireFormat * for requests and the writeXxxWireFormat for responses are not implemented * and simply return 0. These would need to be completed for a server * implementation.
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 21K bytes - Viewed (0) -
internal/s3select/message.go
// - BytesReturned => Current number of bytes of records payload data returned by S3. // // For uncompressed files, BytesScanned and BytesProcessed are equal. // // Example: // // <?xml version="1.0" encoding="UTF-8"?> // <Progress> // // <BytesScanned>512</BytesScanned> // <BytesProcessed>1024</BytesProcessed> // <BytesReturned>1024</BytesReturned> // // </Progress>
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 30 15:26:43 UTC 2022 - 15.2K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
differences between them. Additionally, it's very useful to us if you can provide a "straw API" — what the method signatures would look like, for example, even if the method and class names are still in flux. This can make the feature you're suggesting much clearer to us. - type: textarea attributes:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Nov 17 18:47:47 UTC 2023 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
@CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListWithDifferentElements() { ArrayList<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, getSubjectGenerator().samples().e3()); assertFalse( "A List should not equal another List containing different elements.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0)