Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 68 of 68 for Flip (0.11 sec)

  1. src/cmd/internal/moddeps/moddeps_test.go

    }
    
    // run runs the command and requires that it succeeds.
    func (r runner) run(t *testing.T, args ...string) {
    	t.Helper()
    	cmd := testenv.Command(t, args[0], args[1:]...)
    	cmd.Dir = r.Dir
    	cmd.Env = slices.Clip(r.Env)
    	if r.Dir != "" {
    		cmd.Env = append(cmd.Env, "PWD="+r.Dir)
    	}
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("> %s\n", strings.Join(args, " "))
    		t.Fatalf("command failed: %s\n%s", err, out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/log/slog/logger_test.go

    	return &c2
    }
    
    func (c *captureHandler) WithGroup(name string) Handler {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	var c2 captureHandler
    	c2.r = c.r
    	c2.attrs = c.attrs
    	c2.groups = append(slices.Clip(c.groups), name)
    	return &c2
    }
    
    func (c *captureHandler) clear() {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	c.ctx = nil
    	c.r = Record{}
    }
    
    type discardHandler struct {
    	disabled bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:25:30 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  3. api/go1.21.txt

    pkg slices, func BinarySearchFunc[$0 interface{ ~[]$1 }, $1 interface{}, $2 interface{}]($0, $2, func($1, $2) int) (int, bool) #60091
    pkg slices, func Clip[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0 #57433
    pkg slices, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0 #57433
    pkg slices, func Compact[$0 interface{ ~[]$1 }, $1 comparable]($0) $0 #57433
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/writebarrier.go

    				// writes to pointer-containing types will do this.
    				if d := off % ptrSize; d != 0 {
    					off -= d
    					size += d
    				}
    				if d := size % ptrSize; d != 0 {
    					size += ptrSize - d
    				}
    				// Clip to the 64 words that we track.
    				min := off
    				max := off + size
    				if min < 0 {
    					min = 0
    				}
    				if max > 64*ptrSize {
    					max = 64 * ptrSize
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/css/base.css

        font-family: "Ubuntu Mono", courier, monospace;
        text-shadow: none;
    }
    
    .signature .literal {
        color: #04598D;
        padding-left: 0.1em;
    }
    
    .sr-only {
        border: 0;
        clip: rect(0, 0, 0, 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    
    /*
     * Code highlighting
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. src/net/http/transfer.go

    		return errTrailerEOF
    	}
    	if err != nil {
    		return err
    	}
    
    	// Make sure there's a header terminator coming up, to prevent
    	// a DoS with an unbounded size Trailer. It's not easy to
    	// slip in a LimitReader here, as textproto.NewReader requires
    	// a concrete *bufio.Reader. Also, we can't get all the way
    	// back up to our conn's LimitedReader that *might* be backing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/query.go

    	if len(mainModuleMatches) > 0 && len(results) == 0 && modOnly == nil && errors.Is(err, fs.ErrNotExist) {
    		return nil, nil, &QueryMatchesMainModulesError{
    			Pattern: pattern,
    			Query:   query,
    		}
    	}
    	return slices.Clip(results), modOnly, err
    }
    
    // modulePrefixesExcludingTarget returns all prefixes of path that may plausibly
    // exist as a module, excluding targetPrefix but otherwise including path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  8. src/path/filepath/path_test.go

    		var extra []string
    		for _, path := range absTests {
    			if strings.Contains(path, "$") {
    				continue
    			}
    			path = vol + path
    			extra = append(extra, path)
    		}
    		tests = append(slices.Clip(tests), extra...)
    	}
    
    	err = os.Chdir(absTestDirs[0])
    	if err != nil {
    		t.Fatal("chdir failed: ", err)
    	}
    
    	for _, path := range tests {
    		path = strings.ReplaceAll(path, "$", root)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top