Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for TestMmap (0.13 sec)

  1. operator/pkg/util/reflect_test.go

    func TestIsValueFuncs(t *testing.T) {
    	testInt := int(42)
    	testStruct := struct{}{}
    	testSlice := []bool{}
    	testMap := map[bool]bool{}
    	var testNilSlice []bool
    	var testNilMap map[bool]bool
    
    	allValues := []any{nil, testInt, &testInt, testStruct, &testStruct, testNilSlice, testSlice, &testSlice, testNilMap, testMap, &testMap}
    
    	tests := []struct {
    		desc     string
    		function func(v reflect.Value) bool
    		okValues []any
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          return super.setValue(value);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      static class TestMap<K, V> extends SynchronizedMapTest.TestMap<K, V>
          implements NavigableMap<K, V> {
    
        public TestMap(NavigableMap<K, V> delegate, Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
        protected NavigableMap<K, V> delegate() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go

    	// e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo`
    	// If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList`
    	// It does not support list numeric index.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 22:23:23 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfSet(t3)), is(true));
        }
    
        /**
         * @throws Exception
         */
        public void testMap() throws Exception {
            final Method m1 = MapType.class.getMethod("mapOfStringToObject");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Map.class), is(true));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/JoinerTest.java

        Joiner j = Joiner.on("x").useForNull("y");
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testMap() {
        MapJoiner j = Joiner.on(';').withKeyValueSeparator(':');
        assertEquals("", j.join(ImmutableMap.of()));
        assertEquals(":", j.join(ImmutableMap.of("", "")));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/JoinerTest.java

        Joiner j = Joiner.on("x").useForNull("y");
        try {
          j = j.useForNull("y");
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testMap() {
        MapJoiner j = Joiner.on(';').withKeyValueSeparator(':');
        assertEquals("", j.join(ImmutableMap.of()));
        assertEquals(":", j.join(ImmutableMap.of("", "")));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/util/BeanUtil.java

     * </p>
     *
     * <pre>
     * copyBeanToMap(srcBean, destMap);
     * copyMapToBean(srcMap, destBean);
     * </pre>
     * <p>
     * コピー先となるJavaBeansまたは{@link Map}のインスタンスを新たに生成してコピーすることも出来ます。
     * </p>
     *
     * <pre>
     * DestBean destBean = copyBeanToNewBean(srcBean, DestBean.class);
     * DestBean destBean = copyMapToNewBean(srcMap, DestBean.class);
     * Map&lt;String, Object&gt; destMap = copyBeanToNewMap(srcBean);
     * </pre>
     * <p>
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go

    	// e.g. when validation checks if a specific attribute `foo` under a map `testMap`, the fieldPath could be set to `.testMap.foo`
    	// If the validation checks two lists must have unique attributes, the fieldPath could be set to either of the list: e.g. `.testList`
    	// It does not support list numeric index.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
        assertFreshInstance(new TypeToken<Map<String, ?>>() {});
      }
    
      public void testHashMap() {
        assertFreshInstance(new TypeToken<HashMap<String, ?>>() {});
      }
    
      public void testLinkedHashMap() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

        assertFreshInstance(new TypeToken<Collection<String>>() {});
      }
    
      public void testIterable() {
        assertFreshInstance(new TypeToken<Iterable<String>>() {});
      }
    
      public void testMap() {
        assertFreshInstance(new TypeToken<Map<String, ?>>() {});
      }
    
      public void testHashMap() {
        assertFreshInstance(new TypeToken<HashMap<String, ?>>() {});
      }
    
      public void testLinkedHashMap() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
Back to top