Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 146 for skipLen (0.06 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                fos.write("0123456789".getBytes());
            }
    
            try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) {
                long skipped = stream.skip(5);
                assertEquals(5, skipped);
                assertEquals('5', stream.read());
                assertEquals('6', stream.read());
            }
        }
    
        public void test_markAndReset() throws Exception {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                bb.putShort((short) 0); // pathConsumed (will be divided by 2)
                bb.putShort((short) 0); // numReferrals
                bb.putShort((short) 0); // tflags
                bb.putShort((short) 0); // tflags high bytes (skipped in decode)
    
                int bytesDecoded = buffer.decode(testBuffer, 0, testBuffer.length);
    
                assertEquals(8, bytesDecoded);
                assertEquals(0, buffer.getPathConsumed());
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  3. cmd/metrics-v3-cluster-notification.go

    	notificationEventsSentTotalMD       = NewCounterMD(notificationEventsSentTotal, "Total number of events sent to the targets")
    	notificationEventsSkippedTotalMD    = NewCounterMD(notificationEventsSkippedTotal, "Events that were skipped to be sent to the targets due to the in-memory queue being full")
    )
    
    // loadClusterNotificationMetrics - `MetricsLoaderFn` for cluster notification metrics.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 24 04:10:35 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. cmd/global-heal.go

    	status.SCParity[storageclass.RRS] = backendInfo.RRSCParity
    
    	return status, true
    }
    
    type healEntryResult struct {
    	bytes     uint64
    	success   bool
    	skipped   bool
    	entryDone bool
    	name      string
    }
    
    // healErasureSet lists and heals all objects in a specific erasure set
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 04 13:49:12 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

      /** Counts the bytes in the given input stream using skip if possible. */
      private static long countBySkipping(InputStream in) throws IOException {
        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
       * Copies the contents of this byte source to the given {@code OutputStream}. Does not close
       * {@code output}.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  6. .github/workflows/arm-ci-extended.yml

          - name: Clean repository
            shell: bash
            run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
          - name: Checkout repository for nightly (skipped for releases)
            if: ${{ github.event_name == 'schedule' }}
            uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
            with:
              ref: 'nightly'
          - name: Checkout repository
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            assertFalse(it.hasNext());
    
            // Verify filter called once per entry
            verify(filter, times(3)).accept(any());
        }
    
        @Test
        @DisplayName("Filter throws CIFSException: entry is skipped and iteration continues")
        void filterThrows_skipsAndContinues() throws Exception {
            SmbFile parent = newParent();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for serialization test, even if it implements {@link
       *       Serializable}.
       *   <li>Serialization test is not performed on method return values unless the method is a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

          return
        }
    
        when (message.type) {
          JsseDebugMessage.Type.Setup, JsseDebugMessage.Type.Encrypted, JsseDebugMessage.Type.Plaintext -> {
            println(message.message + " (skipped output)")
          }
          else -> println(message)
        }
      }
    
      fun enableJsseDebugLogging(debugHandler: (JsseDebugMessage) -> Unit = this::quietDebug): Closeable {
        System.setProperty("javax.net.debug", "")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/PacDataInputStreamTest.java

        @Test
        public void testSkipBytes() throws IOException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            PacDataInputStream pdis = createInputStream(data);
            int skipped = pdis.skipBytes(2);
            assertEquals(2, skipped);
            assertEquals(2, pdis.available());
            assertEquals(0x03, pdis.readByte());
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top