Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for corruptor (0.25 sec)

  1. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

      }
    
      private fun corruptMetadata(corruptor: (String) -> String) {
        val metadataFile =
          fileSystem.allPaths.find {
            it.name.endsWith(".0")
          }
    
        if (metadataFile != null) {
          val contents =
            fileSystem.read(metadataFile) {
              readUtf8()
            }
    
          fileSystem.write(metadataFile) {
            writeUtf8(corruptor(contents))
          }
        }
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (1)
  2. cmd/testdata/xl.meta-corrupt.gz

    xl.meta-corrupt...
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 14 16:07:46 GMT 2022
    - 1M bytes
    - Viewed (1)
  3. docs/erasure/README.md

    MinIO protects data against hardware failures and silent data corruption using erasure code and checksums. With the highest level of redundancy, you may lose up to half (N/2) of the total drives and still be able to recover the data.
    
    ## What is Erasure Code?
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    				notFoundCount++
    			} else if isErrBucketNotFound(err) {
    				notFoundCount++
    			}
    		}
    	}
    	return len(errs) == notFoundCount
    }
    
    // ObjectDir is considered dangling/corrupted if any only
    // if total disks - a combination of corrupted and missing
    // files is lesser than N/2+1 number of disks.
    // If no files were found false will be returned.
    func isObjectDirDangling(errs []error) (ok bool) {
    	var found int
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

            // Choice here is between failing with a correct RuntimeException
            // or mostly silently with an IOException
            url = urlLine.toHttpUrlOrNull() ?: throw IOException("Cache corruption for $urlLine").also {
              Platform.get().log("cache corruption", WARN, it)
            }
            requestMethod = source.readUtf8LineStrict()
            val varyHeadersBuilder = Headers.Builder()
            val varyRequestHeaderLineCount = readInt(source)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. docs/debugging/s3-check-md5/main.go

    				}
    				partsMD5Sum = append(partsMD5Sum, h.Sum(nil))
    			}
    
    			if failedMD5 {
    				log.Println("CORRUPTED object:", objFullPath(object))
    				continue
    			}
    
    			corrupted := false
    			if !multipart {
    				md5sum := fmt.Sprintf("%x", partsMD5Sum[0])
    				if md5sum != object.ETag {
    					corrupted = true
    				}
    			} else {
    				var totalMD5SumBytes []byte
    				for _, sum := range partsMD5Sum {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Feb 17 01:15:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  7. cmd/storage-errors.go

    var errUnexpected = StorageErr("unexpected error, please report this issue at https://github.com/minio/minio/issues")
    
    // errCorruptedFormat - corrupted format.
    var errCorruptedFormat = StorageErr("corrupted format")
    
    // errCorruptedBackend - corrupted backend.
    var errCorruptedBackend = StorageErr("corrupted backend")
    
    // errUnformattedDisk - unformatted disk found.
    var errUnformattedDisk = StorageErr("unformatted drive found")
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        } catch (NullPointerException expected) {
        }
    
        Collection<V> values = multimap().get(k3());
        if (values.size() == 0) {
          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(Lists.newArrayList(), Lists.newArrayList(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(Lists.newArrayList(v3()), Lists.newArrayList(values));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    //    - has the latest xl.meta but one or more parts are corrupt
    //
    // 5. __missingParts__       - has the latest copy of xl.meta but has some parts
    // missing.  This is identified separately since this may need manual
    // inspection to understand the root cause. E.g, this could be due to
    // backend filesystem corruption.
    
    // listOnlineDisks - returns
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/erasure-sets.go

    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json) - return failure
    - Any unrecognized disks - return failure
    
    Some disks are offline and we have quorum.
    -----------------
    - Some unformatted - format all and return success,
      treat disks offline as corrupted.
    - Any JBOD inconsistent - return failure
    - Some are corrupt (missing format.json)
    - Any unrecognized disks - return failure
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 37.5K bytes
    - Viewed (5)
Back to top