Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 118 for GetMap (0.57 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null));
      }
    
      public void testGet_wrongType() {
        try {
          assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(null) should return the associated value", getValueForNullKey(), get(null));
      }
    
      public void testGet_wrongType() {
        try {
          assertNull("get(wrongType) should return null or throw", getMap().get(WrongType.VALUE));
        } catch (ClassCastException tolerated) {
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/op_or_arg_name_mapper.h

      // class maintains uniqueness in a different scope.
      virtual bool IsUnique(llvm::StringRef name);
    
      // Returns a constant view of the underlying map.
      const llvm::DenseMap<OpOrVal, absl::string_view>& GetMap() const {
        return op_or_val_to_name_;
      }
    
      // Returns the separator used before uniqueing suffix.
      virtual llvm::StringRef GetSuffixSeparator() { return ""; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      private SortedMap<K, V> navigableMap;
      private Entry<K, V> a;
      private Entry<K, V> c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableMap = (SortedMap<K, V>) getMap();
        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

      private SortedMap<K, V> navigableMap;
      private Entry<K, V> a;
      private Entry<K, V> c;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        navigableMap = (SortedMap<K, V>) getMap();
        List<Entry<K, V>> entries =
            Helpers.copyToList(
                getSubjectGenerator()
                    .getSampleElements(getSubjectGenerator().getCollectionSize().getNumElements()));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/AbstractPropertyLanguageInterOpIntegrationTest.groovy

                            Map<Integer, Boolean> map = new LinkedHashMap<>();
                            map.put(1, true);
                            map.put(2, false);
                            t.getMap().set(map);
                        });
                    }
                }
            """
    
            buildFile << """
                apply plugin: SomeOtherPlugin
                apply plugin: SomePlugin
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

            - A managed type (annotated with @Managed)""")
        }
    
        @Managed
        interface ManagedWithInvalidModelMap {
            ModelMap<FileInputStream> getMap()
        }
    
        @Managed
        interface ManagedWithUnsupportedType {
            FileInputStream getStream()
        }
    
        def "should fail with a contextual exception for scalar collection properties"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    	unstructuredList
    	escapedKeyProps []string
    
    	sync.Once // for for lazy load of mapOfList since it is only needed if Equals is called
    	mapOfList map[interface{}]interface{}
    }
    
    func (t *unstructuredMapList) getMap() map[interface{}]interface{} {
    	t.Do(func() {
    		t.mapOfList = make(map[interface{}]interface{}, len(t.elements))
    		for _, e := range t.elements {
    			t.mapOfList[t.toMapKey(e)] = e
    		}
    	})
    	return t.mapOfList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    lexus.PlexusContainer, String); public void clear(); public Object put(Object, Object); public void putAll(java.util.Map); public Object remove(Object); protected final org.codehaus.plexus.logging.Logger getLogger(); protected final java.util.Map getMap(); protected final java.util.Map checkedGetMap() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public final String getRole(); protected final void setRole(String); public final void contextualize(org.codehaus.ple...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-active-collections/1.0-beta-1/plexus-active-collections-1.0-beta-1.jar

    lexus.PlexusContainer, String); public void clear(); public Object put(Object, Object); public void putAll(java.util.Map); public Object remove(Object); protected final org.codehaus.plexus.logging.Logger getLogger(); protected final java.util.Map getMap(); protected final java.util.Map checkedGetMap() throws org.codehaus.plexus.component.repository.exception.ComponentLookupExcep; public final String getRole(); protected final void setRole(String); public final void contextualize(org.codehaus.ple...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 16 20:15:40 UTC 2007
    - 15.6K bytes
    - Viewed (0)
Back to top