Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for corrupt (0.09 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

            |100
            |2
            |
            |CLEAN k1 1 1
            """.trimMargin(),
          )
        }
        createNewCache()
        assertThat(cache["k1"]).isNull()
    
        // The journal is not corrupt when editing after a truncated line.
        set("k1", "C", "D")
        cache.close()
        createNewCache()
        assertValue("k1", "C", "D")
      }
    
      @ParameterizedTest
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatalf("Failed to read a file - %v", err)
    	}
    
    	if !reflect.DeepEqual(part1Disk1Origin, part1Replaced) {
    		t.Fatalf("part.1 not healed correctly")
    	}
    
    	// Test 2, Corrupt part.1
    	err = firstDisk.WriteAll(context.Background(), bucket, pathJoin(object, fi.DataDir, "part.1"), []byte("foobytes"))
    	if err != nil {
    		t.Fatalf("Failed to write a file - %v", err)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	return messWith("go-with-datadesc-sig.zip", func(b []byte) {
    		// Corrupt one of the CRC32s in the data descriptor:
    		b[0x2d]++
    	})
    }
    
    func returnCorruptNotStreamedZip() (r io.ReaderAt, size int64) {
    	return messWith("crc32-not-streamed.zip", func(b []byte) {
    		// Corrupt foo.txt's final crc32 byte, in both
    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

        limit.
     *  Fix: Avoid using invalid HTTPS sessions. This prevents OkHttp from crashing
        with the error, `Unexpected TLS version: NONE`.
     *  Fix: Don't corrupt the response cache when a 304 (Not Modified) response
        overrides the stored "Content-Encoding" header.
     *  Fix: Gracefully shut down the HTTP/2 connection before it exhausts the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	var xlMeta xlMetaV2
    	var legacyPreserved bool
    	var legacyEntries []string
    	if len(dstBuf) > 0 {
    		if isXL2V1Format(dstBuf) {
    			if err = xlMeta.Load(dstBuf); err != nil {
    				// Data appears corrupt. Drop data.
    				xlMeta = xlMetaV2{}
    			}
    		} else {
    			// This code-path is to preserve the legacy data.
    			xlMetaLegacy := &xlMetaV1Object{}
    			json := jsoniter.ConfigCompatibleWithStandardLibrary
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                            null,
                            "must not be 'local'" + ", this identifier is reserved for the local repository"
                                    + ", using it for other repositories will corrupt your repository metadata.",
                            repository);
                }
    
                if ("legacy".equals(repository.getLayout())) {
                    addViolation(
                            problems,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    			if modTime.IsZero() || modTime.Equal(timeSentinel) {
    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    		} // in all other cases metadata is corrupt, do not read from it.
    
    		onlineMeta[i] = FileInfo{}
    		onlineDisks[i] = nil
    	}
    
    	select {
    	case mrfCheck <- fi.ShallowCopy():
    	case <-ctx.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. tests/migrate_test.go

    					t.Fatalf("column id primary key should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    			case "name":
    				dataType := DB.Dialector.DataTypeOf(stmt.Schema.LookUpField(columnType.Name()))
    				if !strings.Contains(strings.ToUpper(dataType), strings.ToUpper(columnType.DatabaseTypeName())) {
    					t.Fatalf("column name type should be correct, name: %v, length: %v, expects: %v, column: %#v",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    func TestXLStorageVerifyFile(t *testing.T) {
    	// We test 4 cases:
    	// 1) Whole-file bitrot check on proper file
    	// 2) Whole-file bitrot check on corrupted file
    	// 3) Streaming bitrot check on proper file
    	// 4) Streaming bitrot check on corrupted file
    
    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteArnInvalid: {
    		Code:           "XMinioAdminRemoteArnInvalid",
    		Description:    "The bucket remote ARN does not have correct format",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrRemoteTargetNotVersionedError: {
    		Code:           "RemoteTargetNotVersionedError",
    		Description:    "The remote target does not have versioning enabled",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top