Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 1,472 for bize (0.12 seconds)

  1. src/main/java/org/codelibs/fess/app/web/chat/ChatForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for chat requests.
     *
     * @author FessProject
     */
    public class ChatForm {
    
        /**
         * Default constructor.
         */
        public ChatForm() {
            // Default constructor
        }
    
        /**
         * The user's message/question.
         */
        @Size(max = 4000)
        public String message;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/SetViewTest.java

            .testEquals();
      }
    
      /** Returns a {@link Set} with a {@link Set#size()} of {@code size}. */
      private static ContiguousSet<Integer> setSize(int size) {
        checkArgument(size >= 0);
        ContiguousSet<Integer> set = ContiguousSet.closedOpen(0, size);
        checkState(set.size() == size);
        return set;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

      public void testElementSetRemovePropagatesToMultiset() {
        Set<E> elementSet = getMultiset().elementSet();
        int size = getNumElements();
        int expectedSize = size - getMultiset().count(e0());
        assertTrue(elementSet.remove(e0()));
        assertFalse(getMultiset().contains(e0()));
        assertEquals(expectedSize, getMultiset().size());
      }
    
      @CollectionSize.Require(SEVERAL)
      @CollectionFeature.Require(SUPPORTS_REMOVE)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

            } else {
                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
                    if (size == bufferSize) {
                        // Enforce MAX_BUF_SIZE to prevent unbounded memory growth
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

        }
    
        @Test
        public void test_store_triggersIndexing_whenCacheSizeExceeded() {
            // Set small cache size
            indexUpdateCallback.maxDocumentCacheSize = 1;
    
            DataStoreParams paramMap = new DataStoreParams();
    
            // Add first document - should trigger indexing because cache size is 1
            Map<String, Object> dataMap1 = new HashMap<>();
            dataMap1.put("url", "http://example.com/test1");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

          return bytes.toRequestBody(finalContentType, 0, bytes.size)
        }
    
        @JvmStatic
        @JvmName("create")
        fun ByteString.toRequestBody(contentType: MediaType? = null): RequestBody =
          object : RequestBody() {
            override fun contentType() = contentType
    
            override fun contentLength() = size.toLong()
    
            override fun writeTo(sink: BufferedSink) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

          return this;
        }
    
        @CanIgnoreReturnValue
        Builder<K, V> combine(Builder<K, V> other) {
          checkNotNull(other);
          ensureCapacity(this.size + other.size);
          arraycopy(other.entries, 0, this.entries, this.size, other.size);
          this.size += other.size;
          return this;
        }
    
        private ImmutableMap<K, V> build(boolean throwIfDuplicateKeys) {
          /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

            final int size = docs.size();
            if (size == 0) {
                return docs; // empty
            }
            int fromIndex = startPosition;
            if (fromIndex >= size) {
                fromIndex = size - 1;
            }
            int toIndex = startPosition + pageSize;
            if (toIndex >= size) {
                toIndex = size;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

        return CollectSpliterators.indexed(size(), characteristics, this::get);
      }
    
      @Override
      int copyIntoArray(@Nullable Object[] dst, int offset) {
        // this loop is faster for RandomAccess instances, which ImmutableLists are
        int size = size();
        for (int i = 0; i < size; i++) {
          dst[offset + i] = get(i);
        }
        return offset + size;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/EvictingQueue.java

        if (maxSize == 0) {
          return true;
        }
        if (size() == maxSize) {
          delegate.remove();
        }
        delegate.add(e);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean addAll(Collection<? extends E> collection) {
        int size = collection.size();
        if (size >= maxSize) {
          clear();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top