Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for xstr (0.07 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. 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)
  3. 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)
  4. 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)
  5. src/internal/syscall/windows/syscall_windows.go

    )
    
    const MB_ERR_INVALID_CHARS = 8
    
    //sys	GetACP() (acp uint32) = kernel32.GetACP
    //sys	GetConsoleCP() (ccp uint32) = kernel32.GetConsoleCP
    //sys	MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar
    //sys	GetCurrentThread() (pseudoHandle syscall.Handle, err error) = kernel32.GetCurrentThread
    
    // Constants from lmshare.h
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/liveness/plive.go

    		// Clobber only functions where the hash of the function name matches a pattern.
    		// Useful for binary searching for a miscompiled function.
    		hstr := ""
    		for _, b := range notsha256.Sum256([]byte(lv.f.Name)) {
    			hstr += fmt.Sprintf("%08b", b)
    		}
    		if !strings.HasSuffix(hstr, h) {
    			return
    		}
    		fmt.Printf("\t\t\tCLOBBERDEAD %s\n", lv.f.Name)
    	}
    	lv.doClobber = true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/test.go

    enum E {
    	Enum1 = 1,
    	Enum2 = 2,
    };
    
    typedef unsigned char cgo_uuid_t[20];
    
    void uuid_generate(cgo_uuid_t x) {
    	x[0] = 0;
    }
    
    struct S {
    	int x;
    };
    
    const char *cstr = "abcefghijklmnopqrstuvwxyzABCEFGHIJKLMNOPQRSTUVWXYZ1234567890";
    
    extern enum E myConstFunc(struct S* const ctx, int const id, struct S **const filter);
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top