Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for clinit (0.43 sec)

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

        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
    
        list.add("pants");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(ImmutableList.of("cool"), newArrayList(Iterators.limit(list.iterator(), 1)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 3)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/CopyUtil.java

                final byte[] buf = buffer.array();
                int len;
                int amount = 0;
                while ((len = in.read(buf)) != -1) {
                    buffer.limit(len);
                    channel.write(buffer, amount);
                    buffer.clear();
                    amount += len;
                }
                out.flush();
                return amount;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 52.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        public EngineInfo getEngineInfo() {
            if (client instanceof final HttpClient httpClient) {
                return httpClient.getEngineInfo();
            }
            throw new SearchEngineClientException("client is not HttpClient.");
        }
    
        //
        // Fesen Client
        //
    
        @Override
        public ThreadPool threadPool() {
            return client.threadPool();
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 84.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Iterators.java

       *
       * @param iterator the iterator to limit
       * @param limitSize the maximum number of elements in the returned iterator
       * @throws IllegalArgumentException if {@code limitSize} is negative
       * @since 3.0
       */
      public static <T extends @Nullable Object> Iterator<T> limit(
          Iterator<T> iterator, int limitSize) {
        checkNotNull(iterator);
        checkArgument(limitSize >= 0, "limit is negative");
        return new Iterator<T>() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

    import org.codelibs.fess.entity.SearchRenderData;
    import org.codelibs.fess.entity.SearchRequestParams;
    import org.codelibs.fess.entity.SearchRequestParams.SearchRequestType;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.codelibs.fess.exception.InvalidAccessTokenException;
    import org.codelibs.fess.exception.InvalidQueryException;
    import org.codelibs.fess.exception.ResultOffsetExceededException;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

       *
       * @param iterator the iterator to limit
       * @param limitSize the maximum number of elements in the returned iterator
       * @throws IllegalArgumentException if {@code limitSize} is negative
       * @since 3.0
       */
      public static <T extends @Nullable Object> Iterator<T> limit(
          Iterator<T> iterator, int limitSize) {
        checkNotNull(iterator);
        checkArgument(limitSize >= 0, "limit is negative");
        return new Iterator<T>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
    
        list.add("pants");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(ImmutableList.of("cool"), newArrayList(Iterators.limit(list.iterator(), 1)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 3)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

    /* jcifs smb client library in Java
     * Copyright (C) 2005  "Michael B. Allen" <jcifs at samba dot org>
     *                  "Eric Glass" <jcifs at samba dot org>
     *
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Specifies the maximum number of entries the cache may contain.
       *
       * <p>Note that the cache <b>may evict an entry before this limit is exceeded</b>. For example, in
       * the current implementation, when {@code concurrencyLevel} is greater than {@code 1}, each
       * resulting segment inside the cache <i>independently</i> limits its own size to approximately
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
Back to top