Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for xstr (0.04 sec)

  1. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    const pathBase = 1000
    
    // Path returns a tile coordinate path describing t.
    func (t Tile) Path() string {
    	n := t.N
    	nStr := fmt.Sprintf("%03d", n%pathBase)
    	for n >= pathBase {
    		n /= pathBase
    		nStr = fmt.Sprintf("x%03d/%s", n%pathBase, nStr)
    	}
    	pStr := ""
    	if t.W != 1<<uint(t.H) {
    		pStr = fmt.Sprintf(".p/%d", t.W)
    	}
    	var L string
    	if t.L == -1 {
    		L = "data"
    	} else {
    		L = fmt.Sprintf("%d", t.L)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. src/testing/example.go

    		}
    	}
    	if fail != "" || !finished || recovered != nil {
    		fmt.Printf("%s--- FAIL: %s (%s)\n%s", chatty.prefix(), eg.Name, dstr, fail)
    		passed = false
    	} else if chatty.on {
    		fmt.Printf("%s--- PASS: %s (%s)\n", chatty.prefix(), eg.Name, dstr)
    	}
    
    	if chatty.on && chatty.json {
    		fmt.Printf("%s=== NAME   %s\n", chatty.prefix(), "")
    	}
    
    	if recovered != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. operator/pkg/validate/validate_values_test.go

    			t.Fatalf("file %s failed validation with: %s", f, err)
    		}
    	}
    }
    
    func makeErrors(estr []string) util.Errors {
    	var errs util.Errors
    	for _, s := range estr {
    		errs = util.AppendErr(errs, fmt.Errorf("%s", s))
    	}
    	return errs
    }
    
    func yamlFileFilter(path string) bool {
    	return filepath.Base(path) == "values.yaml"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 13:43:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/bucket-policy.go

    		} else {
    			args[key] = values
    		}
    	}
    
    	// JWT specific values
    	//
    	// Add all string claims
    	for k, v := range claims {
    		vStr, ok := v.(string)
    		if ok {
    			// Trim any LDAP specific prefix
    			args[strings.ToLower(strings.TrimPrefix(k, "ldap"))] = []string{vStr}
    		}
    	}
    
    	// Add groups claim which could be a list. This will ensure that the claim
    	// `jwt:groups` works.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. pkg/wasm/cache.go

    		if d, err := name.NewDigest(key.downloadURL[len(ociURLPrefix):]); err == nil {
    			// If there is no checksum and the digest is suffixed in URL, use the digest.
    			dstr := d.DigestStr()
    			if strings.HasPrefix(dstr, sha256SchemePrefix) {
    				key.checksum = dstr[len(sha256SchemePrefix):]
    			}
    			// For other digest scheme, give up to use cache.
    		}
    	}
    
    	if len(key.checksum) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    The query parameter `q` is of type `Union[str, None]` (or `str | None` in Python 3.10), that means that it's of type `str` but could also be `None`, and indeed, the default value is `None`, so FastAPI will know it's not required.
    
    !!! note
        FastAPI will know that the value of `q` is not required because of the default value `= None`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/version.go

    			} else if len(split) < 2 {
    				pre = split[0] + ".0" // Append .0 to a partial label
    			}
    			pre = "-" + pre
    		}
    	}
    	vStr := fmt.Sprintf("v%d.%d.%d%s", v.Major(), v.Minor(), patch, pre)
    	return vStr, nil
    }
    
    // Validate if the remote version is one Minor release newer than the client version.
    // This is done to conform with "stable-X" and only allow remote versions from
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:50:19 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. src/testing/fuzz.go

    	if *isFuzzWorker || f.parent == nil {
    		return
    	}
    	dstr := fmtDuration(f.duration)
    	format := "--- %s: %s (%s)\n"
    	if f.Failed() {
    		f.flushToParent(f.name, format, "FAIL", f.name, dstr)
    	} else if f.chatty != nil {
    		if f.Skipped() {
    			f.flushToParent(f.name, format, "SKIP", f.name, dstr)
    		} else {
    			f.flushToParent(f.name, format, "PASS", f.name, dstr)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. src/math/big/int_test.go

    	} {
    		i, ok := new(Int).SetString(test.istr, 0)
    		if !ok {
    			t.Errorf("SetString(%s) failed", test.istr)
    			continue
    		}
    
    		// Test against expectation.
    		f, acc := i.Float64()
    		if f != test.f || acc != test.acc {
    			t.Errorf("%s: got %f (%s); want %f (%s)", test.istr, f, acc, test.f, test.acc)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_test.cc

      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
Back to top