- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,266 for maxs (0.04 sec)
-
android/guava-tests/test/com/google/common/base/FunctionsTest.java
public void testComposition() { Map<String, Integer> mJapaneseToInteger = Maps.newHashMap(); mJapaneseToInteger.put("Ichi", 1); mJapaneseToInteger.put("Ni", 2); mJapaneseToInteger.put("San", 3); Function<String, Integer> japaneseToInteger = Functions.forMap(mJapaneseToInteger); Map<Integer, String> mIntegerToSpanish = Maps.newHashMap(); mIntegerToSpanish.put(1, "Uno"); mIntegerToSpanish.put(3, "Tres");
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 16K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* to this implementation. * * @since 7.0 */ protected void standardPutAll(Map<? extends K, ? extends V> map) { Maps.putAllImpl(this, map); } /** * A sensible, albeit inefficient, definition of {@link #remove} in terms of the {@code iterator}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 9.9K bytes - Viewed (0) -
src/cmd/go/internal/test/flagdefs_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package test import ( "cmd/go/internal/cfg" "cmd/go/internal/test/internal/genflags" "internal/testenv" "maps" "os" "testing" ) func TestMain(m *testing.M) { cfg.SetGOROOT(testenv.GOROOT(nil), false) os.Exit(m.Run()) } func TestPassFlagToTest(t *testing.T) { wantNames := genflags.ShortTestFlags()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 09 13:37:58 UTC 2023 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_limit_test.go
if err == nil { t.Errorf("expected error, got none") } } // verify the parse completed, either with success or a max depth error successOrMaxDepthError := func(t testing.TB, err error) { if err != nil && !strings.Contains(err.Error(), "max depth") { t.Errorf("expected success or error containing 'max depth', got: %v", err) } } return []testcase{ { name: "3MB of deeply nested slices",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:49:23 UTC 2021 - 4.5K bytes - Viewed (0) -
platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/BaseScalaOptionTest.groovy
abstract List<Map<String, String>> stringProperties() abstract List<Map<String, String>> onOffProperties() abstract List<Map<String, String>> listProperties() def "String #fixture.fieldName maps to #fixture.antProperty with a default value of #fixture.defaultValue"(Map<String, String> fixture) { given: assert testObject."${fixture.fieldName}" == fixture.defaultValue if (fixture.defaultValue == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 3K bytes - Viewed (0) -
docs/pt/docs/alternatives.md
Eles estão, mais ou menos, em pontas opostas, um complementando o outro. Requests tem um projeto muito simples e intuitivo, fácil de usar, com padrões sensíveis. Mas ao mesmo tempo, é muito poderoso e customizável. É por isso que, como dito no site oficial: > Requests é um dos pacotes Python mais baixados de todos os tempos
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Mar 22 01:42:11 UTC 2024 - 25.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SparseImmutableTable.java
ImmutableSet<R> rowSpace, ImmutableSet<C> columnSpace) { Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); Map<R, Map<C, V>> rows = Maps.newLinkedHashMap(); for (R row : rowSpace) { rows.put(row, new LinkedHashMap<C, V>()); } Map<C, Map<R, V>> columns = Maps.newLinkedHashMap(); for (C col : columnSpace) { columns.put(col, new LinkedHashMap<R, V>()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 5.6K bytes - Viewed (0) -
schema/naming_test.go
} ns := NamingStrategy{} for key, value := range maps { if ns.toDBName(key) != value { t.Errorf("%v toName should equal %v, but got %v", key, value, ns.toDBName(key)) } } maps = map[string]string{ "x": "X", "user_restrictions": "UserRestriction",
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue May 30 02:00:48 UTC 2023 - 7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
assertFalse( "Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() { Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1); assertFalse(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredMultimapValues.java
multimap.entryPredicate(), Maps.<V>valuePredicateOnEntries(Predicates.in(c)))); } @Override public boolean retainAll(Collection<?> c) { return Iterables.removeIf( multimap.unfiltered().entries(), // explicit <Entry<K, V>> is required to build with JDK6 Predicates.<Entry<K, V>>and( multimap.entryPredicate(),
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 3K bytes - Viewed (0)