Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 642 for Entries (0.33 sec)

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

      }
    
      /** Returns the associated key type. */
      @GwtIncompatible
      public Class<K> keyType() {
        return keyTypeOrObjectUnderJ2cl;
      }
    
      /**
       * @serialData the key class, number of entries, first key, first value, second key, second value,
       *     and so on.
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      private void writeObject(ObjectOutputStream stream) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      public void testPutAll_nullCollectionReference() {
        assertThrows(NullPointerException.class, () -> getMap().putAll(null));
      }
    
      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);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. cmd/metacache-stream.go

    			if err == io.EOF {
    				err = io.ErrUnexpectedEOF
    			}
    			r.err = err
    			return res, err
    		}
    		res = append(res, name)
    	}
    	return res, nil
    }
    
    // skip n entries on the input stream.
    // If there are less entries left io.EOF is returned.
    func (r *metacacheReader) skip(n int) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	if n <= 0 {
    		return nil
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java

    import com.google.common.collect.testing.TestContainerGenerator;
    import java.util.Map.Entry;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates bimaps, containing sample entries, to be tested.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

              Multisets.immutableEntry(samples.e4(), 2));
        }
    
        @Override
        public Set<Multiset.Entry<E>> create(Object... entries) {
          List<Object> contents = new ArrayList<>();
          Set<E> elements = new HashSet<>();
          for (Object o : entries) {
            @SuppressWarnings("unchecked")
            Multiset.Entry<E> entry = (Entry<E>) o;
            checkArgument(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        }
    
        @Test
        @DisplayName("Iteration skips '.' and '..' and returns valid entries")
        void iterationSkipsDotAndDotDot() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("a");
            // Include entries that should be skipped by internal filter
            FileEntry[] page1 = new FileEntry[] { entry("."), entry(".."), entry("b") };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        }
    
        static Stream<String> wildcardProvider() {
            return Stream.of(null, "", "*");
        }
    
        @ParameterizedTest
        @MethodSource("wildcardProvider")
        @DisplayName("open() happy path: yields entries and closes with Smb2CloseRequest on close()")
        void happyPath_enumerates_and_closes(String wildcard) throws Exception {
            // Setup required for this test
            when(parent.getLocator()).thenReturn(locator);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Case.kt

      val headers: List<Map<String, String>>,
    ) : Cloneable {
      val headersList: List<Header>
        get() {
          val result = mutableListOf<Header>()
          for (inputHeader in headers) {
            val (key, value) = inputHeader.entries.iterator().next()
            result.add(Header(key, value))
          }
          return result
        }
    
      public override fun clone() = Case(seqno, this.wire, headers)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/BiMap.java

    /**
     * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as
     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
     * bimap containing the same entries as this bimap but with reversed keys and values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableBiMap}
     *   <li>{@link HashBiMap}
     *   <li>{@link EnumBiMap}
     *   <li>{@link EnumHashBiMap}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosErrorTest.java

        }
    
        @Test
        @DisplayName("Messages: array is present and contains expected first entries")
        void dosErrorMessagesContainsExpectedTexts() {
            // Arrange & Act
            String[] msgs = DosError.DOS_ERROR_MESSAGES;
    
            // Assert
            assertNotNull(msgs);
            assertTrue(msgs.length >= 3, "Expect at least the first 3 entries present");
            assertEquals("The operation completed successfully.", msgs[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top