Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,411 for ways (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Helper classes for various benchmarks.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    final class BenchmarkHelpers {
      /** So far, this is the best way to test various implementations of {@link Set} subclasses. */
      public interface CollectionsImplEnum {
        <E extends Comparable<E>> Collection<E> create(Collection<E> contents);
    
        String name();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeBasedTable.java

            throw new NoSuchElementException();
          }
          return ((SortedMap<C, V>) backingRowMap).lastKey();
        }
    
        transient @Nullable SortedMap<C, V> wholeRow;
    
        // If the row was previously empty, we check if there's a new row here every time we're queried.
        void updateWholeRowField() {
          if (wholeRow == null || (wholeRow.isEmpty() && backingMap.containsKey(rowKey))) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

         * @return the kick off timestamp
         */
        public Date getKickOffTime() {
            return this.kickOffTime;
        }
    
        /**
         * Returns the time when the user's password was last changed.
         * @return the password last change timestamp
         */
        public Date getPwdLastChangeTime() {
            return this.pwdLastChangeTime;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            // Act
            assertTrue(it.hasNext());
            assertEquals("first", it.next().getName()); // initial
            assertTrue(it.hasNext());
            FileEntry next = it.next();
    
            // Assert: "bad" was skipped due to filter exception, "good" returned
            assertNotNull(next);
            assertEquals("good", next.getName());
            assertFalse(it.hasNext());
            verify(tree, times(1)).release();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

                    SmbConstants.DEFAULT_SHARING);
    
            byte[] data = "Appended".getBytes();
    
            // When
            outputStream.write(data);
    
            // Then - verify write request was sent
            verify(mockTreeHandle, atLeastOnce()).send(any(Smb2WriteRequest.class), any());
        }
    
        @Test
        void testMultipleWrites() throws IOException, CIFSException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

                The good news is that, despite ignoring errors here, GWT does fail if any errors affect
                classes that are actually used in the module under test.
    
                One way to eliminate the warnings is to make base.testModule include the not really
                necessary <inherits> lines for c.g.c.collect.testModule, etc. However, adding <inherits>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/FluentIterable.java

     * "https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html#package.description"
     * >streams library</a> in a slightly different way.
     *
     * <p>The following types of methods are provided:
     *
     * <ul>
     *   <li>chaining methods which return a new {@code FluentIterable} based in some way on the
     *       contents of the current one (for example {@link #transform})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/FluentIterable.java

     *
     * <p>The following types of methods are provided:
     *
     * <ul>
     *   <li>chaining methods which return a new {@code FluentIterable} based in some way on the
     *       contents of the current one (for example {@link #transform})
     *   <li>element extraction methods which facilitate the retrieval of certain elements (for example
     *       {@link #last})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          producerThread.cancel(true);
          producer.doneProducing.await();
          if (drained == 0) {
            q.poll(); // not necessarily there if producer was interrupted
          }
        }
      }
    
      public void testZeroElements() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          checkZeroElements(q);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         * and then. This means that we're silently swallowing an exception -- maybe even an Error. But
         * this is no worse than what FutureTask does in that situation. Additionally, because the
         * Future was cancelled, its listeners have been run, so its consumers will not hang.
         *
         * Contrast this to the situation we have if setResult() throws, a situation described below.
         */
        I sourceResult;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top