Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 295 for snippet (0.05 seconds)

  1. 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)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            InputStream underlyingStream = new ByteArrayInputStream(data);
            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            long skipped = stream.skip(5);
            assertEquals(5, skipped);
            assertEquals('5', stream.read());
        }
    
        public void test_markSupported_delegatesToUnderlying() {
            // Test that markSupported() delegates to underlying stream
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Kotlin, Groovy, Java, and other JVM-based languages should be able to use the Gradle API without relying on another language's standard library.
    
    Historically, Gradle has shipped with some Groovy types in very prominent APIs.
    This required the Kotlin DSL to add special integration to work with Groovy closures.
    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

            val arch = testCoverage.arch
            id("${model.projectId}_FlakyQuarantine_${testCoverage.asId(model)}")
            name = "Flaky Test Quarantine - ${testCoverage.asName()}"
            description = "Run all flaky tests skipped multiple times"
    
            applyDefaultSettings(os = os, arch = arch, buildJvm = BuildToolBuildJvm, timeout = 60)
    
            if (os == Os.LINUX) {
                steps {
                    script {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. .github/workflows/arm-ci-extended-cpp.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.5K bytes
    - Click Count (0)
  9. cmd/signature-v4-utils_test.go

    		// When "X-Amz-Content-Sha256" header is set to  "UNSIGNED-PAYLOAD", validation of content sha256 has to be skipped.
    		{"X-Amz-Content-Sha256", unsignedPayload, "X-Amz-Credential", "", true},
    
    		// Test case - 4.
    		// Enabling PreSigned Signature v4, but X-Amz-Content-Sha256 not set has to be skipped.
    		{"", "", "X-Amz-Credential", "", true},
    
    		// Test case - 5.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. 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)
Back to Top