Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for FAILURE (0.16 sec)

  1. src/bytes/bytes_test.go

    	{"012abcba210", "\xffb", 6},
    	{"012\x80bcb\x80210", "\xffb", 7},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    // Execute f on each test case.  funcName should be the name of f; it's used
    // in failure reports.
    func runIndexTests(t *testing.T, f func(s, sep []byte) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    		b := []byte(test.b)
    		actual := f(a, b)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    				// otherwise it may lead to index out of range error in
    				// assertion following this.
    				if !testCase.versioned {
    					if len(testCase.resultL.Objects) != len(resultL.Objects) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/iam.go

    		go func() {
    			ch := watcher.watch(ctx, iamConfigPrefix)
    			for event := range ch {
    				if err := sys.loadWatchedEvent(ctx, event); err != nil {
    					// we simply log errors
    					iamLogIf(ctx, fmt.Errorf("Failure in loading watch event: %v", err), logger.WarningKind)
    				}
    			}
    		}()
    	}
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  4. cmd/erasure-object.go

    				}
    				break
    			}
    		}
    		dataDir = reduceCommonDataDir(dataDirs, writeQuorum)
    	}
    
    	// We can safely allow RenameData errors up to len(er.getDisks()) - writeQuorum
    	// otherwise return failure.
    	return evalDisks(disks, errs), versions, dataDir, err
    }
    
    func (er erasureObjects) putMetacacheObject(ctx context.Context, key string, r *PutObjReader, opts ObjectOptions) (objInfo ObjectInfo, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrValueParseFailure: {
    		Code:           "ValueParseFailure",
    		Description:    "Time stamp parse failure in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrEvaluatorInvalidArguments: {
    		Code:           "EvaluatorInvalidArguments",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. cmd/batch-handlers.go

    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Notify notifies notification endpoint if configured regarding job failure or success.
    func (r BatchJobReplicateV1) Notify(ctx context.Context, ri *batchJobInfo) error {
    	return notifyEndpoint(ctx, ri, r.Flags.Notify.Endpoint, r.Flags.Notify.Token)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		},
    		// TestXLStorage case - 7.
    		// TestXLStorage to check failure of source and destination are not same type.
    		{
    			srcVol:      "src-vol",
    			destVol:     "dest-vol",
    			srcPath:     "path/",
    			destPath:    "file-one",
    			expectedErr: errFileAccessDenied,
    		},
    		// TestXLStorage case - 8.
    		// TestXLStorage to check failure of destination directory exists.
    		{
    			srcVol:      "src-vol",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    // the errors that gcc prints. That is, this function expects
    // gcc to fail.
    func (p *Package) gccErrors(stdin []byte, extraArgs ...string) string {
    	// TODO(rsc): require failure
    	args := p.gccCmd()
    
    	// Optimization options can confuse the error messages; remove them.
    	nargs := make([]string, 0, len(args)+len(extraArgs))
    	for _, arg := range args {
    		if !strings.HasPrefix(arg, "-O") {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top