Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 116 for skipLen (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/encryption-v1_test.go

    	// `isFromEnd` is true, `skipLen` argument is ignored.
    	decryptedRangeRef := func(s []int64, skipLen, readLen int64, isFromEnd bool) (o, l, skip int64, sn uint32, ps int) {
    		oSize := lsum(s)
    		if isFromEnd {
    			skipLen = oSize - readLen
    		}
    		if skipLen < 0 || readLen < 0 || oSize < 0 || skipLen+readLen > oSize {
    			t.Fatalf("Impossible read specified: %d %d %d", skipLen, readLen, oSize)
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  2. internal/ioutil/ioutil_test.go

    	if string(b) != expected {
    		t.Errorf("AppendFile() failed, expected: %s, got %s", expected, string(b))
    	}
    }
    
    func TestSkipReader(t *testing.T) {
    	testCases := []struct {
    		src      io.Reader
    		skipLen  int64
    		expected string
    	}{
    		{bytes.NewBuffer([]byte("")), 0, ""},
    		{bytes.NewBuffer([]byte("")), 1, ""},
    		{bytes.NewBuffer([]byte("abc")), 0, "abc"},
    		{bytes.NewBuffer([]byte("abc")), 1, "bc"},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. cmd/encryption-v1.go

    func (o *ObjectInfo) GetDecryptedRange(rs *HTTPRangeSpec) (encOff, encLength, skipLen int64, seqNumber uint32, partStart int, err error) {
    	if _, ok := crypto.IsEncrypted(o.UserDefined); !ok {
    		err = errors.New("Object is not encrypted")
    		return encOff, encLength, skipLen, seqNumber, partStart, err
    	}
    
    	if rs == nil {
    		// No range, so offsets refer to the whole object.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  4. cmd/object-api-utils.go

    					// Number of full blocks in skipped area
    					seqNum = uint32(compOff / SSEDAREPackageBlockSize)
    					// Skip this many inside a decrypted block to get to compression block start
    					decryptSkip = compOff % SSEDAREPackageBlockSize
    					// Skip this number of full blocks.
    					skipEnc := compOff / SSEDAREPackageBlockSize
    					skipEnc *= sseDAREEncPackageBlockSize
    					compressedOffset += skipEnc
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            assertFalse(itr.hasNext(), "No more elements after consuming two");
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @DisplayName("Invalid names are skipped; next valid is returned")
        void skipsMalformedNames_thenReturnsValid(String badName) throws Exception {
            // Arrange: first entry is invalid (null or empty), second is valid
            setupParentForUrlCreation();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

                final int days = ComponentUtil.getFessConfig().getPurgeSearchLogDay();
                if (days >= 0) {
                    searchLogService.deleteBefore(days);
                } else {
                    resultBuf.append("Skipped to purge search logs.\n");
                }
            } catch (final Exception e) {
                logger.error("Failed to purge search logs.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                    boolean anyPredecessorFailed = step.predecessors.stream().anyMatch(s -> s.status.get() == FAILED);
    
                    // If any predecessor failed, we'll use a special status transition: CREATED -> SKIPPED
                    // This ensures the step runs for cleanup but is marked as skipped in the end
                    if (shouldExecute && anyPredecessorFailed) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  8. tests/gaussdb_test.go

    	"github.com/google/uuid"
    	"github.com/lib/pq"
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestGaussDBReturningIDWhichHasStringType(t *testing.T) {
    	t.Skipf("This test case skipped, because of gaussdb not support pgcrypto extension and gen_random_uuid() function")
    	if DB.Dialector.Name() != "gaussdb" {
    		t.Skip()
    	}
    
    	type Yasuo struct {
    		// TODO: function gen_random_uuid() does not exist
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Skip uses read internally, which may throw IOException when it tries to read the next header
            try {
                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
                assertEquals(3, skipped);
            } catch (IOException e) {
                // This is also acceptable behavior - skip may fail when it runs out of data
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. .github/workflows/arm-cd.yml

          - 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 for releases (skipped for nightly)
            if: ${{ github.event_name == 'push' }}
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top