Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2341 - 2350 of 6,076 for new1 (0.02 seconds)

  1. guava/src/com/google/common/collect/Ordering.java

        static final Ordering<@Nullable Object> ARBITRARY_ORDERING = new ArbitraryOrdering();
      }
    
      @J2ktIncompatible // MapMaker
      @VisibleForTesting
      static class ArbitraryOrdering extends Ordering<@Nullable Object> {
    
        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                // pre-authenticate
                authenticator = new org.codelibs.spnego.SpnegoAuthenticator(config);
    
                fessConfig.setSystemPropertyAsBoolean(SPNEGO_INITIALIZED, true);
                fessConfig.storeSystemProperties();
                return authenticator;
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

      static void requestInterruptIn(long time, TimeUnit unit) {
        checkNotNull(unit);
        Thread interruptee = Thread.currentThread();
        new Thread(
                () -> {
                  try {
                    unit.sleep(time);
                  } catch (InterruptedException wontHappen) {
                    throw new AssertionError(wontHappen);
                  }
                  interruptee.interrupt();
                })
            .start();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:38:30 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

        class InvalidPath {
            @Test
            void acceptWithNullThrows() {
                SmbFileFilter throwOnNull = new SmbFileFilter() {
                    @Override
                    public boolean accept(SmbFile file) throws SmbException {
                        if (file == null) {
                            throw new SmbException("null file");
                        }
                        return true;
                    }
                };
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ArrayListMultimap.java

     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/util/transport/TransportTest.java

                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    
            @Test
            @DisplayName("readn should return 0 when no more bytes available")
            void shouldReturnZeroWhenStreamEmpty() throws IOException {
                InputStream is = new ByteArrayInputStream("Hi".getBytes());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/info/GitInfo.java

                        }
                        throw new GradleException("Can't find revision for refName " + refName);
                    }
                } else {
                    // we are in detached HEAD state
                    revision = ref;
                }
                return new GitInfo(revision, findOriginUrl(gitDir.resolve("config")));
            } catch (final IOException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/CharStreams.java

       * Does not close the {@code Readable}.
       *
       * @param r the object to read from
       * @return a {@link StringBuilder} containing all the characters
       * @throws IOException if an I/O error occurs
       */
      private static StringBuilder toStringBuilder(Readable r) throws IOException {
        StringBuilder sb = new StringBuilder();
        if (r instanceof Reader) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

        checkNotNull(iterable);
        return new Iterator<T>() {
          Iterator<T> iterator = emptyModifiableIterator();
    
          @Override
          public boolean hasNext() {
            /*
             * Don't store a new Iterator until we know the user can't remove() the last returned
             * element anymore. Otherwise, when we remove from the old iterator, we may be invalidating
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterators.java

        checkNotNull(iterable);
        return new Iterator<T>() {
          Iterator<T> iterator = emptyModifiableIterator();
    
          @Override
          public boolean hasNext() {
            /*
             * Don't store a new Iterator until we know the user can't remove() the last returned
             * element anymore. Otherwise, when we remove from the old iterator, we may be invalidating
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top