Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for _corrupted (0.16 sec)

  1. src/go/internal/gcimporter/gcimporter_test.go

    			data[k]++
    		}
    		// 4) write the file
    		pkgpath += "_corrupted"
    		filename := filepath.Join(corruptdir, pkgpath) + ".a"
    		os.WriteFile(filename, data, 0666)
    
    		// test that importing the corrupted file results in an error
    		_, err = Import(fset, make(map[string]*types.Package), pkgpath, corruptdir, nil)
    		if err == nil {
    			t.Errorf("import corrupted %q succeeded", pkgpath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. test/fixedbugs/issue40629.go

    	var x [N]int // stack-allocated memory
    	for i := range x {
    		x[i] = 0x999
    	}
    
    	// This defer checks to see if x is uncorrupted.
    	defer func(p *[N]int) {
    		recover()
    		for i := range p {
    			if p[i] != 0x999 {
    				for j := range p {
    					fmt.Printf("p[%d]=0x%x\n", j, p[j])
    				}
    				panic("corrupted stack variable")
    			}
    		}
    	}(&x)
    
    	// This defer starts a new goroutine, which will (hopefully)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 14 21:49:36 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CacheTaskArchiveErrorIntegrationTest.groovy

            and:
            !localCache.hasCacheEntry(cacheKey)
    
            when:
            file("build").deleteDir()
    
            then:
            succeeds("customTask")
        }
    
        def "corrupted cache artifact metadata provides useful error message"() {
            when:
            buildFile << """
                @CacheableTask
                class CustomTask extends DefaultTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. 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")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. test/fixedbugs/issue6295.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 6295: qualified name of unexported methods
    // is corrupted during import.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 22 03:55:50 UTC 2014
    - 275 bytes
    - Viewed (0)
  7. test/fixedbugs/issue7023.go

    // compiledir
    
    // Copyright 2014 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 7023: corrupted export data when an inlined function
    // contains a goto.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 10 00:33:24 UTC 2014
    - 274 bytes
    - Viewed (0)
  8. test/fixedbugs/issue4252.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 4252: tests that fixing the issue still allow
    // builtins to be redeclared and are not corrupted
    // in export data.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 313 bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/ASN1Util.java

                    }
                    throw new IOException("corrupted stream - high tag number < 31 found");
                }
    
                tagNo = b & 0x7f;
    
                // X.690-0207 8.1.2.4.2
                // "c) bits 7 to 1 of the first subsequent octet shall not all be zero."
                if (0 == tagNo)
                {
                    throw new IOException("corrupted stream - invalid high tag number found");
                }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. pkg/kubelet/checkpointmanager/checkpoint_manager_test.go

    	assert.EqualError(t, err, "checkpoint is corrupted")
    
    	// Test it fails if tried to read V1 structure into the same structure but defined in another package
    	checkpointRemoteV1 := newFakeCheckpointRemoteV1("", nil, false)
    	err = manager.GetCheckpoint("key1", checkpointRemoteV1)
    	assert.EqualError(t, err, "checkpoint is corrupted")
    
    	// Test it works if tried to read V1 structure using into a new V1 structure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 12 06:41:04 UTC 2018
    - 6.6K bytes
    - Viewed (0)
Back to top