Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,057 for entre (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestMapEntrySetGenerator.java

      @Override
      public Set<Entry<K, V>> create(Object... elements) {
        Entry<K, V>[] entries = createArray(elements.length);
        arraycopy(elements, 0, entries, 0, elements.length);
        return createFromEntries(entries);
      }
    
      public abstract Set<Entry<K, V>> createFromEntries(Entry<K, V>[] entries);
    
      @Override
      @SuppressWarnings("unchecked") // generic arrays make typesafety sad
      public Entry<K, V>[] createArray(int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                ImmutableMap.ofEntries(entry(1, 2), entry(2, 3), entry(3, 1)),
                map(1, 2, 2, 3, 3, 1))
            .addEqualityGroup(
                ImmutableMap.of(1, 1, 2, 2, 3, 3, 4, 4),
                ImmutableMap.builder().put(1, 1).put(2, 2).put(3, 3).put(4, 4).buildOrThrow(),
                ImmutableMap.ofEntries(entry(1, 1), entry(2, 2), entry(3, 3), entry(4, 4)),
                map(1, 1, 2, 2, 3, 3, 4, 4))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapGenerators.java

        @Override
        protected BiMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableBiMap.Builder<String, String> builder = ImmutableBiMap.builder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

        private static Entry<TypeToken, Object> entry(TypeToken<?> k, Object v) {
          return immutableEntry((TypeToken) k, v);
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public Entry<TypeToken, Object>[] createArray(int length) {
          return (Entry<TypeToken, Object>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<TypeToken, Object>> order(List<Entry<TypeToken, Object>> insertionOrder) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
      protected abstract SetMultimap<String, String> create(Entry<String, String>[] entries);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestStringMapGenerator.java

        @SuppressWarnings("unchecked")
        Entry<String, String>[] array = (Entry<String, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<String, String> e = (Entry<String, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
      protected abstract Map<String, String> create(Entry<String, String>[] entries);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

        return map().size();
      }
    
      @Override
      public boolean contains(@CheckForNull Object object) {
        if (object instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) object;
          V value = map().get(entry.getKey());
          return value != null && value.equals(entry.getValue());
        }
        return false;
      }
    
      @Override
      boolean isPartialView() {
        return map().isPartialView();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/MemoryUtil.java

                }
                return size;
            }
            if (obj instanceof Map<?, ?>) {
                long size = 0;
                for (final Map.Entry<?, ?> entry : ((Map<?, ?>) obj).entrySet()) {
                    size += sizeOf(entry.getKey());
                    size += sizeOf(entry.getValue());
                }
                return size;
            }
            return 16L;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. internal/config/dns/etcd_dns.go

    			return nil, err
    		}
    		srvRecord.Key = strings.TrimPrefix(string(n.Key), key)
    		srvRecord.Key = strings.TrimSuffix(srvRecord.Key, srvRecord.Host)
    
    		// Skip non-bucket entry like for a key
    		// /skydns/net/miniocloud/10.0.0.1 that may exist as
    		// dns entry for the server (rather than the bucket
    		// itself).
    		if srvRecord.Key == "" {
    			continue
    		}
    
    		srvRecord.Key = msgUnPath(srvRecord.Key)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      private Entry<K, V> nullKeyEntry;
      private Entry<K, V> nullValueEntry;
      private Entry<K, V> nullKeyValueEntry;
      private Entry<K, V> presentKeyNullValueEntry;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        nullKeyEntry = entry(null, v3());
        nullValueEntry = entry(k3(), null);
        nullKeyValueEntry = entry(null, null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top