Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 347 for setKey (0.03 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            // populate the provides section
            Properties provides = model.getProvides();
            for (Entry<Object, Object> provide : provides.entrySet()) {
                String key = (String) provide.getKey();
                String value = (String) provide.getValue();
    
                if (value == null) {
                    throw new MisconfiguredToolchainException(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(CountDownLatch latch) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
      private ListenerCallQueue.Event<Object> countDownEvent(CountDownLatch latch) {
        return new ListenerCallQueue.Event<Object>() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

            }
            this.key = Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Get the lease key bytes
         *
         * @return copy of the 16-byte lease key
         */
        public byte[] getKey() {
            return Arrays.copyOf(key, LEASE_KEY_SIZE);
        }
    
        /**
         * Write the lease key to a buffer
         *
         * @param dst destination buffer
         * @param dstIndex starting index in destination buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/ArtifactRepositoryMetadata.java

        @Override
        public String getBaseVersion() {
            // Don't want the artifact's version in here, as this is stored in the directory above that
            return null;
        }
    
        @Override
        public Object getKey() {
            return "artifact " + artifact.getGroupId() + ":" + artifact.getArtifactId();
        }
    
        @Override
        public boolean isSnapshot() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSinkTester.java

      static TestSuite tests(String name, ByteSinkFactory factory) {
        TestSuite suite = new TestSuite(name);
        for (Entry<String, String> entry : TEST_STRINGS.entrySet()) {
          String desc = entry.getKey();
          TestSuite stringSuite = suiteForString(name, factory, entry.getValue(), desc);
          suite.addTest(stringSuite);
        }
        return suite;
      }
    
      private static TestSuite suiteForString(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

            new ImmutableMap.Builder<>(mapEntries.size());
        int size = 0;
    
        for (Entry<? extends K, ? extends Collection<? extends V>> entry : mapEntries) {
          K key = entry.getKey();
          Collection<? extends V> values = entry.getValue();
          ImmutableList<V> list =
              (valueComparator == null)
                  ? ImmutableList.copyOf(values)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

        return (result == null) ? elementSet = new ElementSet() : result;
      }
    
      @WeakOuter
      private final class ElementSet extends IndexedImmutableSet<E> {
    
        @Override
        E get(int index) {
          return contents.getKey(index);
        }
    
        @Override
        public boolean contains(@Nullable Object object) {
          return RegularImmutableMultiset.this.contains(object);
        }
    
        @Override
        boolean isPartialView() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            if (from != null) {
                for (Map.Entry<K, ? extends Artifact> entry : from.entrySet()) {
                    to.put(entry.getKey(), ArtifactUtils.copyArtifact(entry.getValue()));
                }
            }
    
            return to;
        }
    
        private static <T> List<T> copyList(List<T> original) {
            List<T> copy = null;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top