Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 2,614 for ksize (0.61 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

       * size() as a hint only.
       *
       * @param delta the difference between the true size of the collection and the values returned by
       *     the size method
       */
      public static <T extends @Nullable Object> Collection<T> misleadingSizeCollection(int delta) {
        // It would be nice to be able to return a real concurrent
        // collection like ConcurrentLinkedQueue, so that e.g. concurrent
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      }
    
      private static <K, V> ImmutableMap<K, V> fromEntryList(
          boolean throwIfDuplicateKeys, Collection<? extends Entry<? extends K, ? extends V>> entries) {
        int size = entries.size();
        switch (size) {
          case 0:
            return of();
          case 1:
            Entry<? extends K, ? extends V> entry = getOnlyElement(entries);
            return of((K) entry.getKey(), (V) entry.getValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            client.testAddIntentHistory(request, history);
            assertEquals(0, request.getMessages().size());
        }
    
        @Test
        public void test_addIntentHistory_nullHistory() {
            final LlmChatRequest request = new LlmChatRequest();
            client.testAddIntentHistory(request, null);
            assertEquals(0, request.getMessages().size());
        }
    
        @Test
        public void test_addIntentHistory_allFitWithinBothLimits() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                return response
              }
    
              if (contentLength != 0L) {
                logger.log("")
                logger.log(buffer.clone().readString(charset))
              }
    
              logger.log(
                buildString {
                  append("<-- END HTTP (${totalMs}ms, ${buffer.size}-byte")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbWatchHandleTest.java

            List<FileNotifyInformation> result3 = watchHandle.watch();
    
            // Verify results
            assertEquals(1, result1.size());
            assertEquals(fileNotifyInfo1, result1.get(0));
    
            assertEquals(2, result2.size());
            assertEquals(fileNotifyInfo2, result2.get(0));
            assertEquals(fileNotifyInfo3, result2.get(1));
    
            assertTrue(result3.isEmpty());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  6. cmd/benchmark-utils_test.go

    	// pick a character randomly.
    	return []byte{letterBytes[rand.Intn(len(letterBytes))]}
    }
    
    // picks a random byte and repeats it to size bytes.
    func generateBytesData(size int) []byte {
    	// repeat the random character chosen size
    	return bytes.Repeat(getRandomByte(), size)
    }
    
    // Parallel benchmark utility functions for ObjectLayer.PutObject().
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

            searchBody.put("size", 100);
            searchBody.put("q", NAME_PREFIX + "*");
    
            String response = checkMethodBase(searchBody).get(SEARCHLIST_API_PATH + "/docs").asString();
            List<Map<String, Object>> docs = JsonPath.from(response).getList("response.docs");
    
            logger.info("Created documents: {}", docs);
            assertEquals(5, docs.size(), "Should have created 5 documents");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

            count,
            getMultiset().count(element));
    
        int size = 0;
        for (Multiset.Entry<E> entry : getMultiset().entrySet()) {
          size += entry.getCount();
        }
        assertEquals(
            "multiset.size() should be the sum of the counts of all entries",
            size,
            getMultiset().size());
      }
    
      /** Call the {@code setCount()} method under test, and check its return value. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/DuplicateHostPager.java

            this.existNextPage = existNextPage;
        }
    
        /**
         * Gets the number of records to display per page.
         * If the page size is not set or is invalid, returns the default page size.
         *
         * @return the page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Chars.java

            return true;
          }
          if (object instanceof CharArrayAsList) {
            CharArrayAsList that = (CharArrayAsList) object;
            int size = size();
            if (that.size() != size) {
              return false;
            }
            for (int i = 0; i < size; i++) {
              if (array[start + i] != that.array[that.start + i]) {
                return false;
              }
            }
            return true;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
Back to Top