- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 131 for skipLen (0.04 sec)
-
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) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 19.9K bytes - Viewed (0) -
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"},
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.6K bytes - Viewed (0) -
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.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 38K bytes - Viewed (0) -
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
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 37.3K bytes - Viewed (0) -
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();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
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) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 55.1K bytes - Viewed (0) -
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"); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
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
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 6.6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
long skipped = skipUpTo(in, n); if (skipped < n) { throw new EOFException( "reached end of stream after skipping " + skipped + " bytes; " + n + " bytes expected"); } } /** * Discards up to {@code n} bytes of data from the input stream. This method will block until * either the full amount has been skipped or until the end of the stream is reached, whichever
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
docs/debugging/s3-check-md5/main.go
continue } if object.IsDeleteMarker { log.Println("SKIPPED: DELETE marker object:", objFullPath(object)) continue } if _, ok := object.UserMetadata["X-Amz-Server-Side-Encryption-Customer-Algorithm"]; ok { log.Println("SKIPPED: Objects encrypted with SSE-C do not have md5sum as ETag:", objFullPath(object)) continue }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 6.3K bytes - Viewed (0)