Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 429 for getKeys (0.06 seconds)

  1. src/main/java/jcifs/util/Crypto.java

         *
         * @param key
         *            7 or 8 byte DES key
         * @return DES cipher in encryption mode
         */
        public static Cipher getDES(final byte[] key) {
            if (key.length == 7) {
                return getDES(des7to8(key));
            }
    
            try {
                final Cipher c = Cipher.getInstance("DES/ECB/NoPadding");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(entry.getKey()).isEqualTo("Hello");
        assertThat(entry.getValue()).isEqualTo("World");
        assertTrue(iter.hasNext());
    
        entry = iter.next();
        assertThat(entry.getKey()).isEqualTo("first");
        assertThat(entry.getValue()).isEqualTo("second");
        assertTrue(iter.hasNext());
    
        entry = iter.next();
        assertThat(entry.getKey()).isEqualTo("polygene");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            }
            this.headerFields = null;
            for (final Entry<String, List<String>> property : this.connection.getRequestProperties().entrySet()) {
                final String key = property.getKey();
                final StringBuilder value = new StringBuilder();
                final Iterator<String> values = property.getValue().iterator();
                while (values.hasNext()) {
                    value.append(values.next());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/AbstractBiMap.java

          }
          checkArgument(!containsValue(value), "value already present: %s", value);
          V oldValue = delegate.setValue(value);
          checkState(Objects.equals(value, get(getKey())), "entry no longer in map");
          updateInverseMap(getKey(), true, oldValue, value);
          return oldValue;
        }
      }
    
      Iterator<Entry<K, V>> entrySetIterator() {
        Iterator<Entry<K, V>> iterator = delegate.entrySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

          }
    
          @Override
          @ParametricNullness
          public E next() {
            Map.Entry<E, Count> mapEntry = backingEntries.next();
            toRemove = mapEntry;
            return mapEntry.getKey();
          }
    
          @Override
          public void remove() {
            checkState(toRemove != null, "no calls to next() since the last call to remove()");
            size -= toRemove.getValue().getAndSet(0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        @Test
        public void testEntrySet() throws Exception {
            Iterator<Map.Entry<String, String>> i = map.entrySet().iterator();
            assertThat(i.next().getKey(), is(nullValue()));
            assertThat(i.next().getKey(), is("1"));
            assertThat(i.next().getKey(), is("2"));
        }
    
        /**
         * Test method for {@link org.seasar.util.collection.ArrayIterator#remove()}
         * .
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/ByteSourceTester.java

          if (testAsCharSource) {
            suite.addTest(suiteForString(factory, entry.getValue(), name, entry.getKey()));
          } else {
            suite.addTest(
                suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true));
          }
        }
        return suite;
      }
    
      static TestSuite suiteForString(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/FileEntryTest.java

        void fakeImplementation_happyPath() {
            // Arrange
            FileEntry e = new TestFileEntry("doc.pdf", 2, 0x10, 10L, 20L, 30L, 4096L, 3);
    
            // Act & Assert: getters return exactly what was provided
            assertAll(() -> assertEquals("doc.pdf", e.getName()), () -> assertEquals(2, e.getType()),
                    () -> assertEquals(0x10, e.getAttributes()), () -> assertEquals(10L, e.createTime()),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

          }
          checkArgument(!containsValue(value), "value already present: %s", value);
          V oldValue = delegate.setValue(value);
          checkState(Objects.equals(value, get(getKey())), "entry no longer in map");
          updateInverseMap(getKey(), true, oldValue, value);
          return oldValue;
        }
      }
    
      Iterator<Entry<K, V>> entrySetIterator() {
        Iterator<Entry<K, V>> iterator = delegate.entrySet().iterator();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableBiMap.java

        super(delegate);
    
        ImmutableMap.Builder<V, K> builder = ImmutableMap.builder();
        for (Entry<K, V> entry : delegate.entrySet()) {
          builder.put(entry.getValue(), entry.getKey());
        }
        ImmutableMap<V, K> backwardMap = builder.build();
        this.inverse = new RegularImmutableBiMap<V, K>(backwardMap, this);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jan 27 22:02:32 GMT 2026
    - 1.8K bytes
    - Click Count (0)
Back to Top