Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for bad (0.11 sec)

  1. internal/hash/errors.go

    }
    
    func (e SHA256Mismatch) Error() string {
    	return "Bad sha256: Expected " + e.ExpectedSHA256 + " does not match calculated " + e.CalculatedSHA256
    }
    
    // BadDigest - Content-MD5 you specified did not match what we received.
    type BadDigest struct {
    	ExpectedMD5   string
    	CalculatedMD5 string
    }
    
    func (e BadDigest) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon May 15 21:08:54 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/issue21897.go

    	for i := 0; i < 10000; i++ {
    		testCFNumberRef()
    		testCFDateRef()
    		testCFBooleanRef()
    		// Allocate some memory, so eventually the write barrier is enabled
    		// and it will see writes of bad pointers in the test* functions below.
    		byteSliceSink = make([]byte, 1024)
    	}
    }
    
    var byteSliceSink []byte
    
    func testCFNumberRef() {
    	var v int64 = 0
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. cmd/erasure-heal_test.go

    	"os"
    	"testing"
    )
    
    var erasureHealTests = []struct {
    	dataBlocks, disks int
    
    	// number of offline disks is also number of staleDisks for
    	// erasure reconstruction in this test
    	offDisks int
    
    	// bad disks are online disks which return errors
    	badDisks, badStaleDisks int
    
    	blocksize, size int64
    	algorithm       BitrotAlgorithm
    	shouldFail      bool
    }{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/line_test.go

    		{"VADDPD.BCST.Z.SAE X0, X1, X2", `Z suffix should be the last; can't combine rounding/SAE and broadcast`},
    		{"VADDPD.SAE.SAE X0, X1, X2", `duplicate suffix "SAE"`},
    		{"VADDPD.RZ_SAE.SAE X0, X1, X2", `bad suffix combination`},
    
    		// BSWAP on 16-bit registers is undefined. See #29167,
    		{"BSWAPW DX", `unrecognized instruction`},
    		{"BSWAPW R11", `unrecognized instruction`},
    	})
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  5. cmd/httprange_test.go

    		}
    		o, l, err := rs.GetOffsetLength(resourceSize)
    		if err != nil {
    			t.Errorf("unexpected err: %v", err)
    		}
    		if o != testCase.expOffset || l != testCase.expLength {
    			t.Errorf("Case %d: got bad offset/length: %d,%d expected: %d,%d",
    				i, o, l, testCase.expOffset, testCase.expLength)
    		}
    	}
    
    	unparsableRangeSpecs := []string{
    		"bytes=-",
    		"bytes==",
    		"bytes==1-10",
    		"bytes=",
    		"bytes=aa",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. internal/arn/arn.go

    		err = errors.New("invalid ARN string format")
    		return
    	}
    
    	if ps[1] != string(arnPartitionMinio) {
    		err = errors.New("invalid ARN - bad partition field")
    		return
    	}
    
    	if ps[2] != string(arnServiceIAM) {
    		err = errors.New("invalid ARN - bad service field")
    		return
    	}
    
    	// ps[3] is region and is not validated here. If the region is invalid,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue24161res/restype.go

    */
    import "C"
    import (
    	"reflect"
    	"testing"
    )
    
    func Test(t *testing.T) {
    	if k := reflect.TypeOf(C.CFArrayCreate(0, nil, 0, nil)).Kind(); k != reflect.Uintptr {
    		t.Fatalf("bad kind %s\n", k)
    	}
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 486 bytes
    - Viewed (0)
  8. misc/go_android_exec/exitcode_test.go

    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    	check("exitcode=123\n")
    	wantErr = regexp.MustCompile("^bad exit code: .* value out of range")
    	check("exitcode=999999999999999999999999")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/pseudo_test.go

    		{"DATA", "·A(SB)/4,0", "DATA value must be an immediate constant or address"},
    		{"DATA", "·B(SB)/4,$0", ""},
    		{"DATA", "·C(SB)/5,$0", "bad int size for DATA argument: 5"},
    		{"DATA", "·D(SB)/5,$0.0", "bad float size for DATA argument: 5"},
    		{"DATA", "·E(SB)/4,$·A(SB)", "bad addr size for DATA argument: 4"},
    		{"DATA", "·F(SB)/8,$·A(SB)", ""},
    		{"DATA", "·G(SB)/5,$\"abcde\"", ""},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue1435.go

    			// can error out on linux.  We've seen all of
    			// the following, so treat any error here as
    			// equivalent to the "process is gone":
    			//    os.IsNotExist(err),
    			//    "... : no such process",
    			//    "... : bad file descriptor.
    			continue
    		}
    		lines := strings.Split(string(d), "\n")
    		for _, line := range lines {
    			// Different kernel vintages pad differently.
    			line = strings.TrimSpace(line)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top