Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 434 for setValue (0.12 sec)

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

      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            final Set<String> doubleFieldSet = getIndexAdminDoubleFieldSet();
    
            return source.entrySet().stream().filter(e -> isNonEmptyValue(e.getValue())).map(e -> {
                final String key = e.getKey();
                Object value = e.getValue();
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
                        value = Arrays.stream((String[]) value).toList();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/Suggester.java

                    getAliasesResponse.getAliases()
                            .entrySet()
                            .forEach(x -> x.getValue()
                                    .stream()
                                    .filter(y -> updateAlias.equals(y.alias()))
                                    .forEach(y -> updateIndices.add(x.getKey())));
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  4. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                return;
            }
    
            lock.writeLock().lock();
            try {
                // Clean up expired handles
                handles.entrySet().removeIf(entry -> {
                    HandleInfo info = entry.getValue();
                    if (info.isExpired() && !info.isReconnecting()) {
                        guidToHandle.remove(info.getCreateGuid());
                        removePersistedHandle(info);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            ArgumentCaptor<SmbComFindClose2> captor = ArgumentCaptor.forClass(SmbComFindClose2.class);
            verify(tree, times(1)).send(captor.capture(), any());
            assertNotNull(captor.getValue());
    
            // Tree handle is released after close
            verify(tree, atLeastOnce()).release();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            ArgumentCaptor<Integer> accessCaptor = ArgumentCaptor.forClass(Integer.class);
            verify(dest, times(1)).openUnshared(anyInt(), accessCaptor.capture(), anyInt(), eq(attrs), anyInt());
            int access = accessCaptor.getValue();
            boolean hasReadData = (access & SmbConstants.FILE_READ_DATA) != 0;
            assertEquals(alsoRead, hasReadData, "FILE_READ_DATA flag presence should match alsoRead");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlResponse.java

                final Map<String, List<String>> map = new HashMap<>();
                headers.entrySet().stream().filter(e -> e.getKey() != null)
                        .forEach(e -> map.put(e.getKey().toLowerCase(Locale.ROOT), e.getValue()));
                this.headers = map;
            }
        }
    
        /**
         * Gets the headers of the response.
         *
         * @return the headers.
         */
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().put(key, v3());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().put(key, v3());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      }
    
      private static <K, V> void putEntryWithChecks(
          SortedMap<K, V> map, Entry<? extends K, ? extends V> entry) {
        K key = checkNotNull(entry.getKey());
        V value = checkNotNull(entry.getValue());
        if (map.containsKey(key)) {
          // When a collision happens, the colliding entry is the first entry
          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
Back to top