Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,092 for Trailing (0.12 sec)

  1. src/cmd/compile/internal/ssa/magic.go

    // Then x*m mod 2^n <= ⎣(2^n - 1)/d0⎦ is the first test.
    // The test for divisibility by 2^k is a check for k trailing zeroes.
    // Note that since d0 is odd, m is odd and thus x*m will have the same number of
    // trailing zeroes as x.  So the two tests are,
    //
    // x*m mod 2^n <= ⎣(2^n - 1)/d0⎦
    // and x*m ends in k zero bits
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/path/match.go

    func Match(pattern, name string) (matched bool, err error) {
    Pattern:
    	for len(pattern) > 0 {
    		var star bool
    		var chunk string
    		star, chunk, pattern = scanChunk(pattern)
    		if star && chunk == "" {
    			// Trailing * matches rest of string unless it has a /.
    			return bytealg.IndexByteString(name, '/') < 0, nil
    		}
    		// Look for match at current position.
    		t, ok, err := matchChunk(chunk, name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    func pathMatches(path, spec string) bool {
    	// Allow wildcard match
    	if spec == "*" {
    		return true
    	}
    	// Allow exact match
    	if spec == path {
    		return true
    	}
    	// Allow a trailing * subpath match
    	if strings.HasSuffix(spec, "*") && strings.HasPrefix(path, strings.TrimRight(spec, "*")) {
    		return true
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/proxy/proxy.go

    	newCtx := req.Context()
    	cancelFn := func() {}
    
    	if requestInfo, ok := genericapirequest.RequestInfoFrom(req.Context()); ok {
    		// trim leading and trailing slashes. Then "/apis/group/version" requests are for discovery, so if we have exactly three
    		// segments that we are going to proxy, we have a discovery request.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    			continue // unchanged
    		}
    		if len(path) == 1 && path[0] == '"' {
    			lines[i] = lastPath + rest
    		} else {
    			lastPath = path + "."
    			// line unchanged
    		}
    	}
    	return strings.Join(lines, "\n") // trailing \n?
    }
    
    // input is <import path>.<function name>
    // output is (import path, function name)
    func cutLastDot(x string) (before, after string) {
    	i := strings.LastIndex(x, ".")
    	if i < 0 {
    		return "", x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/ZipCopyAction.java

                }
            }
    
            private void visitDir(FileCopyDetails dirDetails) {
                try {
                    // Trailing slash in name indicates that entry is a directory
                    ZipArchiveEntry archiveEntry = new ZipArchiveEntry(dirDetails.getRelativePath().getPathString() + '/');
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 08 14:16:53 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/mod/module/module.go

    	if path[0] == '-' && kind != filePath {
    		return fmt.Errorf("leading dash")
    	}
    	if strings.Contains(path, "//") {
    		return fmt.Errorf("double slash")
    	}
    	if path[len(path)-1] == '/' {
    		return fmt.Errorf("trailing slash")
    	}
    	elemStart := 0
    	for i, r := range path {
    		if r == '/' {
    			if err := checkElem(path[elemStart:i], kind); err != nil {
    				return err
    			}
    			elemStart = i + 1
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  8. src/cmd/internal/archive/archive.go

    followed by data bytes followed by an optional padding byte. The header is:
    
    	%-16s%-12d%-6d%-6d%-8o%-10d`
    	name mtime uid gid mode size
    
    (note the trailing backquote). The %-16s here means at most 16 *bytes* of
    the name, and if shorter, space padded on the right.
    */
    
    // A Data is a reference to data stored in an object file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. src/encoding/base64/base64.go

    	}
    	enc.padChar = padding
    	return &enc
    }
    
    // Strict creates a new encoding identical to enc except with
    // strict decoding enabled. In this mode, the decoder requires that
    // trailing padding bits are zero, as described in RFC 4648 section 3.5.
    //
    // Note that the input is still malleable, as new line characters
    // (CR and LF) are still ignored.
    func (enc Encoding) Strict() *Encoding {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/http2/hpack/huffman.go

    		// Either there was an incomplete symbol, or overlong padding.
    		// Both are decoding errors per RFC 7541 section 5.2.
    		return ErrInvalidHuffman
    	}
    	if mask := uint(1<<cbits - 1); cur&mask != mask {
    		// Trailing bits must be a prefix of EOS per RFC 7541 section 5.2.
    		return ErrInvalidHuffman
    	}
    
    	return nil
    }
    
    // incomparable is a zero-width, non-comparable type. Adding it to a struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
Back to top