Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 619 for dprintf (0.14 sec)

  1. internal/hash/checksum.go

    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    	sum := hasher.Sum(nil)
    	if c.WantParts > 0 && c.WantParts != parts {
    		return ChecksumMismatch{
    			Want: fmt.Sprintf("%s-%d", c.Encoded, c.WantParts),
    			Got:  fmt.Sprintf("%s-%d", base64.StdEncoding.EncodeToString(sum), parts),
    		}
    	}
    
    	if !bytes.Equal(sum, c.Raw) {
    		return ChecksumMismatch{
    			Want: c.Encoded,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. ci/official/utilities/cleanup_summary.sh

    Try the links below:
    EOF
      # Find any "Streaming build results to" lines,
      # de-duplicate,
      # and print the last word from each
      awk '/Streaming build results to/ {print $NF}' "$TFCI_OUTPUT_DIR/script.log" | uniq
    }
    
    # Print out any ResultStore URLs for Bazel invocations' results.
    # Each failed target there will have its own representation, making failures
    # easier to find and read.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Aug 07 23:01:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. internal/config/config.go

    	return targets, nil
    }
    
    func getEnvVarName(subSys, target, param string) string {
    	if target == Default {
    		return fmt.Sprintf("%s%s%s%s", EnvPrefix, strings.ToUpper(subSys), Default, strings.ToUpper(param))
    	}
    
    	return fmt.Sprintf("%s%s%s%s%s%s", EnvPrefix, strings.ToUpper(subSys), Default, strings.ToUpper(param),
    		Default, target)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  4. cmd/kms-handlers_test.go

    				"Resource": ["arn:minio:kms:::non-matching-key-name"] }`,
    
    			wantStatusCode: http.StatusForbidden,
    			wantResp:       []string{"AccessDenied"},
    		},
    	}
    	for testNum, test := range tests {
    		t.Run(fmt.Sprintf("%d %s", testNum+1, test.name), func(t *testing.T) {
    			execKMSTest(t, test, adminTestBed)
    		})
    	}
    }
    
    func TestKMSHandlersKeyStatus(t *testing.T) {
    	adminTestBed, tearDown := setupKMSTest(t, true)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/arch.go

    		}
    		if i == riscv.REG_TP || i == riscv.REG_G {
    			continue
    		}
    		name := fmt.Sprintf("X%d", i-riscv.REG_X0)
    		register[name] = int16(i)
    	}
    	for i := riscv.REG_F0; i <= riscv.REG_F31; i++ {
    		name := fmt.Sprintf("F%d", i-riscv.REG_F0)
    		register[name] = int16(i)
    	}
    	for i := riscv.REG_V0; i <= riscv.REG_V31; i++ {
    		name := fmt.Sprintf("V%d", i-riscv.REG_V0)
    		register[name] = int16(i)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 24 12:32:56 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. docs_src/custom_request_and_route/tutorial003.py

                duration = time.time() - before
                response.headers["X-Response-Time"] = str(duration)
                print(f"route duration: {duration}")
                print(f"route response: {response}")
                print(f"route response headers: {response.headers}")
                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1K bytes
    - Viewed (0)
  7. internal/s3select/simdj/errors.go

    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    	return err.message
    }
    
    func errJSONParsingError(err error) *s3Error {
    	return &s3Error{
    		code:       "JSONParsingError",
    		message:    fmt.Sprintf("Encountered an error parsing the JSON file: %v. Check the file and try again.", err),
    		statusCode: 400,
    		cause:      err,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  8. internal/rest/client.go

    	}
    
    	// Only display request header.
    	reqTrace, err := httputil.DumpRequestOut(req, false)
    	if err != nil {
    		return
    	}
    
    	// Write request to trace output.
    	_, err = fmt.Fprint(c.TraceOutput, string(reqTrace))
    	if err != nil {
    		return
    	}
    
    	// Only display response header.
    	var respTrace []byte
    
    	// For errors we make sure to dump response body as well.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    	for i := 0; i < opts.concurrency; i++ {
    		go func(i int) {
    			defer wg.Done()
    			for {
    				t := time.Now()
    				reader := newRandomReader(opts.objectSize)
    				tmpObjName := pathJoin(objNamePrefix, fmt.Sprintf("%d/%d", i, objCountPerThread[i]))
    				info, err := clnt.PutObject(uploadsCtx, opts.bucketName, tmpObjName, reader, int64(opts.objectSize), popts)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. clause/limit_test.go

    			"SELECT * FROM `users` LIMIT ? OFFSET ?",
    			[]interface{}{limit50, 30},
    		},
    	}
    
    	for idx, result := range results {
    		t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
    			checkBuildClauses(t, result.Clauses, result.Result, result.Vars)
    		})
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top