Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for remaining (0.08 seconds)

  1. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                }
    
                if (totalChars + docEntry.length() > maxChars) {
                    final int remaining = maxChars - totalChars - CONTEXT_TRUNCATION_BUFFER;
                    if (remaining > 0 && docEntry.length() > remaining) {
                        docEntry.setLength(remaining);
                        docEntry.append("...\n\n");
                        documentContent.append(docEntry);
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

        }
    
        @Test
        public void test_addHistoryWithBudget_multipleTurns_budgetTight() {
            // 3 turns: turn0(Q1+A1=10), turn1(Q2+A2=10), turn2(Q3+A3=10)
            // Budget=25: turn2(10) fits (remaining=15), turn1(10) fits (remaining=5), turn0(10) doesn't
            final List<LlmMessage> history = new ArrayList<>();
            history.add(LlmMessage.user("QQQQQ")); // 5
            history.add(LlmMessage.assistant("AAAAA")); // 5
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  3. cmd/xl-storage-format-v2.go

    		if s.Len() > 0 {
    			s.WriteByte(',')
    		}
    		s.WriteString("Inline")
    	}
    	return s.String()
    }
    
    // checkXL2V1 will check if the metadata has correct header and is a known major version.
    // The remaining payload and versions are returned.
    func checkXL2V1(buf []byte) (payload []byte, major, minor uint16, err error) {
    	if len(buf) <= 8 {
    		return payload, 0, 0, fmt.Errorf("xlMeta: no data")
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  4. android/guava/src/com/google/common/collect/Iterators.java

      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
          UnmodifiableIterator<T> iterator) {
        return checkNotNull(iterator);
      }
    
      /**
       * Returns the number of elements remaining in {@code iterator}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       */
      public static int size(Iterator<?> iterator) {
        long count = 0L;
    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)
  5. guava/src/com/google/common/collect/Iterators.java

      public static <T extends @Nullable Object> UnmodifiableIterator<T> unmodifiableIterator(
          UnmodifiableIterator<T> iterator) {
        return checkNotNull(iterator);
      }
    
      /**
       * Returns the number of elements remaining in {@code iterator}. The iterator will be left
       * exhausted: its {@code hasNext()} method will return {@code false}.
       */
      public static int size(Iterator<?> iterator) {
        long count = 0L;
    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)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

       * either from cancellation or because an input future has completed. If N futures are passed in,
       * and M delegates are cancelled, the remaining M input futures will be cancelled once N - M of
       * the input futures complete. If all the delegates are cancelled, all the input futures will be
       * too.
       *
       * @since 17.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  7. cmd/object-api-multipart_test.go

    		// Part size greater than 5MB.
    		{
    			[]CompletePart{
    				{ETag: fmt.Sprintf("\"\"\"\"\"%s\"\"\"", validPartMD5), PartNumber: 5},
    			},
    		},
    		// inputParts - 4.
    		// Used to verify that the other remaining parts are deleted after
    		// a successful call to CompleteMultipartUpload.
    		{
    			[]CompletePart{
    				{ETag: validPartMD5, PartNumber: 6},
    			},
    		},
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * the {@code Cache} user, only logged via a {@link Logger}.
       *
       * @return the cache builder reference that should be used instead of {@code this} for any
       *     remaining configuration and cache building
       * @throws IllegalStateException if a removal listener was already set
       */
      public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> removalListener(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                            log.debug("Breaking on error " + resp);
                        }
                        break;
                    }
    
                    if (nextHead != null) {
                        // prepare remaining
                        // (e.g. set session/tree/fileid returned by the previous requests)
                        resp.prepare(nextHead);
                    }
                    curHead = nextHead;
                } finally {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  10. cmd/bucket-handlers.go

    	if r.ContentLength <= 0 {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEmptyRequestBody), r.URL)
    		return
    	}
    
    	// Here the parameter is the size of the form data that should
    	// be loaded in memory, the remaining being put in temporary files.
    	mp, err := multipartReader(r)
    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedPOSTRequest)
    		apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, err)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 63.9K bytes
    - Click Count (0)
Back to Top