- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 3,004 for During (0.07 sec)
-
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
HashSet<String> mut = Sets.union(friends, enemies).copyInto(new HashSet<String>()); enemies.add("Buck"); assertEquals(6, all.size()); assertEquals(5, immut.size()); assertEquals(5, mut.size()); } public void testIntersection() { Set<String> friends = newHashSet("Tom", "Joe", "Dave"); Set<String> enemies = newHashSet("Dick", "Harry", "Tom");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
public Test testsForCheckedMap() { return MapTestSuiteBuilder.using( new TestStringMapGenerator() { @Override protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> map = populate(new HashMap<String, String>(), entries); return Collections.checkedMap(map, String.class, String.class); } })
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java
public Test testsForCheckedMap() { return MapTestSuiteBuilder.using( new TestStringMapGenerator() { @Override protected Map<String, String> create(Entry<String, String>[] entries) { Map<String, String> map = populate(new HashMap<String, String>(), entries); return Collections.checkedMap(map, String.class, String.class); } })
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 17K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
new Function<String, String>() { @Override public String apply(String value) { return Ascii.toLowerCase(value); } }; static final EntryTransformer<String, String, String> ENTRY_TRANSFORMER = new EntryTransformer<String, String, String>() { @Override public String transformEntry(String key, String value) { return Ascii.toLowerCase(value);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0) -
cmd/prepare-storage.go
var mutex sync.Mutex printOnce := make(map[Endpoint]map[string]int) return func(endpoint Endpoint, err error, once bool) { reqInfo := (&logger.ReqInfo{}).AppendTags("endpoint", endpoint.String()) ctx := logger.SetReqInfo(GlobalContext, reqInfo) mutex.Lock() defer mutex.Unlock() m, ok := printOnce[endpoint] if !ok { m = make(map[string]int) printOnce[endpoint] = m if once { m[err.Error()]++
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
*/ void interpolate( @Nonnull Map<String, String> map, @Nullable Function<String, String> callback, @Nullable BiFunction<String, String, String> postprocessor, boolean defaultsToEmpty); /** * Interpolates a single string value using the provided callback function. * This method defaults to not replacing unresolved placeholders.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 17 09:25:53 UTC 2024 - 6.9K bytes - Viewed (0) -
internal/grid/README.md
In the examples we use a `MSS` type, which is a `map[string]string` that is `msgp` serializable. ```go handler := func(request *grid.MSS) (*grid.MSS, *grid.RemoteErr) { fmt.Println("Got request with field", request["myfield"]) // Do something with payload return NewMSSWith(map[string]string{"result": "ok"}), nil } // Create a typed handler.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
String[] array = new String[] {"a"}; List<String[]> list = ImmutableList.<String[]>of(array); assertEquals(singletonList(array), list); } public void testCopyOf_emptyArray() { String[] array = new String[0]; List<String> list = ImmutableList.copyOf(array); assertEquals(emptyList(), list); } public void testCopyOf_arrayOfOneElement() { String[] array = new String[] {"a"};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt
fail("Encoding $component $codePoint using $encoding") } return } // Check that the URI and HttpURL have the exact same escaping. if (toAndFromUri != httpUrl) { fail("Encoding $component $codePoint using $encoding") } if (uri.toString() != httpUrl.toString()) { fail("Encoding $component $codePoint using $encoding") } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
private static Test testsForTransform() { return CollectionTestSuiteBuilder.using( new TestStringCollectionGenerator() { @Override public Collection<@Nullable String> create(@Nullable String[] elements) { List<@Nullable String> list = newArrayList(); for (String element : elements) { list.add((element == null) ? null : "q" + element);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 10:16:44 UTC 2024 - 19.7K bytes - Viewed (0)