Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for hashOpen (0.08 sec)

  1. src/cmd/go/internal/modindex/read.go

    		// mtime precision, reject caching if a file was read that
    		// is less than modTimeCutoff old.
    		//
    		// This is the same strategy used for hashing test inputs.
    		// See hashOpen in cmd/go/internal/test/test.go for the
    		// corresponding code.
    		if info.ModTime().After(cutoff) {
    			return cache.ActionID{}, ErrNotIndexed
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    			}
    			if a.Package.Root == "" || search.InDir(name, a.Package.Root) == "" {
    				// Do not recheck files outside the module, GOPATH, or GOROOT root.
    				break
    			}
    			fh, err := hashOpen(name)
    			if err != nil {
    				if cache.DebugTest {
    					fmt.Fprintf(os.Stderr, "testcache: %s: input file %s: %s\n", a.Package.ImportPath, name, err)
    				}
    				return cache.ActionID{}, err
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. pkg/ledger/ledger.go

    	// hash length is fixed at 64 bits until generic support is added
    	const hashLen = 64
    	byteVal := []byte(val)
    	if len(byteVal) < hashLen/8 {
    		// zero fill the left side of the slice
    		zerofill := make([]byte, hashLen/8)
    		byteVal = append(zerofill[:hashLen/8-len(byteVal)], byteVal...)
    	}
    	return byteVal[:hashLen/8]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. internal/grid/msg.go

    	}
    	if m.Flags&FlagCRCxxh3 != 0 {
    		const hashLen = 4
    		if len(h) < hashLen {
    			return nil, nil, fmt.Errorf("want crc len 4, got %v", len(h))
    		}
    		got := uint32(xxh3.Hash(b[:len(b)-hashLen]))
    		want := binary.LittleEndian.Uint32(h[len(h)-hashLen:])
    		if got != want {
    			return nil, nil, fmt.Errorf("crc mismatch: 0x%08x (given) != 0x%08x (bytes)", want, got)
    		}
    		h = h[:len(h)-hashLen]
    	}
    	// Extract subroute if any.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 28 19:22:29 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/oauth2-jwt.md

        Und Ihre Benutzer könnten sich gleichzeitig über Ihre Django-Anwendung oder Ihre **FastAPI**-Anwendung anmelden.
    
    ## Die Passwörter hashen und überprüfen
    
    Importieren Sie die benötigten Tools aus `passlib`.
    
    Erstellen Sie einen PassLib-„Kontext“. Der wird für das Hashen und Verifizieren von Passwörtern verwendet.
    
    !!! tip "Tipp"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:06 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top