Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 531 - 540 of 594 for getMem (0.05 seconds)

  1. android/guava/src/com/google/common/collect/Multimaps.java

            return multimap().containsEntry(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
        @Override
        public boolean remove(@Nullable Object o) {
          if (o instanceof Map.Entry) {
            Map.Entry<?, ?> entry = (Map.Entry<?, ?>) o;
            return multimap().remove(entry.getKey(), entry.getValue());
          }
          return false;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                        .stream()
                        .sorted((e1, e2) -> e1.getValue().getLastAccessedAt().compareTo(e2.getValue().getLastAccessedAt()))
                        .limit(toRemove)
                        .map(Map.Entry::getKey)
                        .collect(Collectors.toList())
                        .forEach(sessionCache::remove);
            }
        }
    
        /**
         * Checks if a session is expired.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();
    
            XmlNode executionConfiguration = mojoExecution.getConfiguration() != null
                    ? mojoExecution.getConfiguration().getDom()
                    : null;
            if (executionConfiguration == null) {
                executionConfiguration = XmlNode.newInstance("configuration");
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            void testInitialTotalBytesWrittenValue() {
                assertEquals(0, response.getTotalBytesWritten());
            }
        }
    
        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("Should get chunksWritten value")
            void testGetChunksWritten() {
                // Initial value should be 0
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    .flatMap(properties -> properties.entrySet().stream())
                    .filter(e -> e.getValue() != null)
                    .collect(Collectors.toMap(
                            e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue()), (k1, k2) -> k2));
        }
    
        private String getUserAgent() {
            String version = runtimeInformation.getMavenVersion();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 19 13:42:58 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/Kerb5ContextTest.java

        // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes)
        private static byte[] buildExportName(Oid mech, String name) throws GSSException {
            byte[] der = mech.getDER();
            byte[] nb = name.getBytes();
            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
            out[i++] = 0x04; // TOK_ID[0]
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * if the specified map is modified while the operation is in progress.
       */
      public void putAll(Map<? extends K, ? extends Long> m) {
        for (Entry<? extends K, ? extends Long> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      /**
       * Removes and returns the value associated with {@code key}. If {@code key} is not in the map,
       * this method has no effect and returns zero.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 13:21:19 GMT 2025
    - 14K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            }
    
            @Override
            public Multiset.Entry<E> next() {
              Map.Entry<E, Integer> backingEntry = backingIterator.next();
              return Multisets.immutableEntry(backingEntry.getKey(), backingEntry.getValue());
            }
    
            @Override
            public void remove() {
              backingIterator.remove();
            }
          };
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertEquals(1, item.getKinds().length);
            assertEquals(SuggestItem.Kind.DOCUMENT, item.getKinds()[0]);
        }
    
        @Test
        public void testGettersAndSetters() {
            // Test all getter and setter methods
            String[] text = { "initial" };
            String[][] readings = { { "read" } };
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.USER);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                                    HashMap::putAll));
                }
                propMap.put(DEFAULT_LABEL_VALUES, map);
            }
            return map.entrySet().stream().flatMap(e -> {
                final String key = e.getKey();
                if (StringUtil.isEmpty(key) || userBean
                        .map(user -> stream(user.getRoles()).get(stream -> stream.anyMatch(s -> (ROLE_VALUE_PREFIX + s).equals(key)))
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
Back to Top