Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 68 for corruptor (0.09 seconds)

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

  1. okhttp/src/jvmTest/kotlin/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))
          }
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. cmd/erasure-healing-common.go

    			metaErrs[i] = errDiskNotFound
    			continue
    		}
    
    		meta := partsMetadata[i]
    		corrupted := false
    		if filterByETag {
    			corrupted = meta.Metadata["etag"] != latestMeta.Metadata["etag"]
    		} else {
    			corrupted = !meta.ModTime.Equal(latestMeta.ModTime) || meta.DataDir != latestMeta.DataDir
    		}
    
    		if corrupted {
    			metaErrs[i] = errFileCorrupt
    			partsMetadata[i] = FileInfo{}
    			onlineDisks[i] = nil
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  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?
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupPlugin.kt

     * This can cause race conditions leading to:
     * - `FileAlreadyExistsException` when extracting files
     * - Corrupted installations (e.g., "Build-tool X has corrupt source.properties")
     * - Missing SDK components after installation
     *
     * This plugin generates minimal Android projects for specified SDK version combinations and builds them
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 27 08:49:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. docs/resiliency/resiliency-verify-healing-script.sh

    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    JQUERY='select(.name=="'"${BUCKET}"'/'"${DIR}"'/'"${FILE}"'") | {"before":{"color": .before.color, "missing": .before.missing, "corrupted": .before.corrupted},"after":{"color": .after.color, "missing": .after.missing, "corrupted": .after.corrupted}}'
    if [ "$DEEP" = "true" ]; then
    	SCAN_DEEP="--scan=deep"
    fi
    
    GOT=$(./mc admin heal --json ${SCAN_DEEP} ${ALIAS_NAME}/${BUCKET}/${DIR}/${FILE})
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 996 bytes
    - Click Count (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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        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(new ArrayList<>(), new ArrayList<>(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/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)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java

         * @param batchMaxSize The maximum batch size delegate should receive (default {@code 500}).
         * @param blockOnLastEvent Should this listener block on last transfer end (completed or corrupted) block? (default {@code true}).
         */
        public SimplexTransferListener(
                TransferListener delegate, int queueSize, int batchMaxSize, boolean blockOnLastEvent) {
            this.delegate = requireNonNull(delegate);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Feb 06 11:28:05 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  10. internal/disk/stat_openbsd.go

    		Files:  uint64(s.F_files),
    		Ffree:  uint64(s.F_ffree),
    		FSType: getFSType(s.F_fstypename[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top