Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 244 for Remaining (0.07 seconds)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various remaining bytes values")
            @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, Integer.MAX_VALUE })
            void testVariousRemainingBytes(int remaining) {
                assertDoesNotThrow(() -> request.setRemainingBytes(remaining));
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultiset.java

          int remaining;
          @Nullable E element;
    
          @Override
          public boolean hasNext() {
            return (remaining > 0) || entryIterator.hasNext();
          }
    
          @Override
          public E next() {
            if (remaining <= 0) {
              Entry<E> entry = entryIterator.next();
              element = entry.getElement();
              remaining = entry.getCount();
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

                assertEquals("Hello", new String(buffer, 0, bytesRead, "UTF-8"));
    
                // Read remaining bytes
                byte[] remaining = new byte[20];
                int remainingBytes = stream.read(remaining);
                assertEquals(8, remainingBytes); // ", World!"
                assertEquals(", World!", new String(remaining, 0, remainingBytes, "UTF-8"));
            }
        }
    
        // --- isInMemory() tests ---
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

                // Parse SMB URL manually
                String remaining = urlStr.substring(6); // Remove "smb://"
                int slashIndex = remaining.indexOf('/');
                if (slashIndex == -1) {
                    this.host = remaining;
                    this.path = "/";
                } else {
                    this.host = remaining.substring(0, slashIndex);
                    this.path = remaining.substring(slashIndex);
                }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

            bulkDelete.execute().actionGet(fessConfig.getIndexSearchTimeout());
    
            // Delete any remaining events beyond the search size limit (discard overflow)
            try {
                client.deleteByQuery(indexName, QueryBuilders.termQuery("hostname", hostname));
            } catch (final Exception e) {
                logger.debug("Failed to delete remaining log notifications.", e);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

        @Nullable Node<K, V> next;
        @Nullable Node<K, V> toRemove;
        int expectedModCount;
        int remaining;
    
        BiIterator(HashBiMap<K, V> biMap) {
          this.biMap = biMap;
          next = biMap.firstInKeyInsertionOrder;
          expectedModCount = biMap.modCount;
          remaining = biMap.size();
        }
    
        @Override
        public final boolean hasNext() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

                assertDoesNotThrow(() -> request.setMinimumCount(512));
                assertDoesNotThrow(() -> request.setMinimumCount(Integer.MAX_VALUE));
            }
    
            @Test
            @DisplayName("Should set remaining bytes correctly")
            void testSetRemainingBytes() {
                assertDoesNotThrow(() -> request.setRemainingBytes(0));
                assertDoesNotThrow(() -> request.setRemainingBytes(1024));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  8. 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)
  9. internal/ioutil/ioutil.go

    	if totalSize == 0 {
    		return 0, nil
    	}
    
    	var written int64
    	for {
    		buf := alignedBuf
    		if totalSize > 0 {
    			remaining := totalSize - written
    			if remaining < int64(len(buf)) {
    				buf = buf[:remaining]
    			}
    		}
    
    		nr, err := io.ReadFull(r, buf)
    		eof := errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF)
    		if err != nil && !eof {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          int remaining = queue.size();
          while (queueIterator.hasNext()) {
            Integer element = queueIterator.next();
            remaining--;
            assertThat(elements).contains(element);
            if (random.nextBoolean()) {
              elements.remove(element);
              queueIterator.remove();
            }
          }
          assertThat(remaining).isEqualTo(0);
          assertIntact(queue);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
Back to Top