Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 338 for original (0.33 sec)

  1. src/slices/sort.go

    func SortFunc[S ~[]E, E any](x S, cmp func(a, b E) int) {
    	n := len(x)
    	pdqsortCmpFunc(x, 0, n, bits.Len(uint(n)), cmp)
    }
    
    // SortStableFunc sorts the slice x while keeping the original order of equal
    // elements, using cmp to compare elements in the same way as [SortFunc].
    func SortStableFunc[S ~[]E, E any](x S, cmp func(a, b E) int) {
    	stableCmpFunc(x, len(x), cmp)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:54:41 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/cmd/cover/cover.go

    	astFile *ast.File
    	blocks  []Block
    	content []byte
    	edit    *edit.Buffer
    	mdb     *encodemeta.CoverageMetaDataBuilder
    	fn      Func
    	pkg     *Package
    }
    
    // findText finds text in the original source, starting at pos.
    // It correctly skips over comments and assumes it need not
    // handle quoted strings.
    // It returns a byte offset within f.src.
    func (f *File) findText(pos token.Pos, text string) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. src/net/http/cookiejar/jar_test.go

    //
    // Tests derived from Chromium's cookie_store_unittest.h.
    //
    
    // See http://src.chromium.org/viewvc/chrome/trunk/src/net/cookies/cookie_store_unittest.h?revision=159685&content-type=text/plain
    // Some of the original tests are in a bad condition (e.g.
    // DomainWithTrailingDotTest) or are not RFC 6265 conforming (e.g.
    // TestNonDottedAndTLD #1 and #6) and have not been ported.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. src/runtime/panic.go

    // triggered this panic.
    func panicCheck1(pc uintptr, msg string) {
    	if goarch.IsWasm == 0 && stringslite.HasPrefix(funcname(findfunc(pc)), "runtime.") {
    		// Note: wasm can't tail call, so we can't get the original caller's pc.
    		throw(msg)
    	}
    	// TODO: is this redundant? How could we be in malloc
    	// but not in the runtime? runtime/internal/*, maybe?
    	gp := getg()
    	if gp != nil && gp.m != nil && gp.m.mallocing != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  5. src/path/filepath/path_test.go

    		*errors = append(*errors, err)
    		if clear {
    			return nil
    		}
    		return err
    	}
    	return nil
    }
    
    // chdir changes the current working directory to the named directory,
    // and then restore the original working directory at the end of the test.
    func chdir(t *testing.T, dir string) {
    	olddir, err := os.Getwd()
    	if err != nil {
    		t.Fatalf("getwd %s: %v", dir, err)
    	}
    	if err := os.Chdir(dir); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. src/cmd/internal/src/pos.go

    		format(w, p.Filename(), p.Line(), p.Col(), showCol)
    		return
    	}
    
    	// base is relative
    	// Print the column only for the original position since the
    	// relative position's column information may be bogus (it's
    	// typically generated code and we can't say much about the
    	// original source at that point but for the file:line info
    	// that's provided via a line directive).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:52:41 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  7. src/net/http/server.go

    	// or clear those deadlines as needed.
    	//
    	// The returned bufio.Reader may contain unprocessed buffered
    	// data from the client.
    	//
    	// After a call to Hijack, the original Request.Body must not
    	// be used. The original Request's Context remains valid and
    	// is not canceled until the Request's ServeHTTP method
    	// returns.
    	Hijack() (net.Conn, *bufio.ReadWriter, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. src/runtime/cgocall.go

    // taken from the frame structure, records the results in the frame,
    // and returns to runtime.asmcgocall.
    //
    // After it regains control, runtime.asmcgocall switches back to the
    // original g (m->curg)'s stack and returns to runtime.cgocall.
    //
    // After it regains control, runtime.cgocall calls exitsyscall, which blocks
    // until this m can run Go code without violating the $GOMAXPROCS limit,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  9. src/go/printer/printer.go

    	// formatting differs from the source formatting (in the amount of
    	// white space). If there's a difference and SourcePos is set in
    	// ConfigMode, //line directives are used in the output to restore
    	// original source positions for a reader.
    	pos          token.Position // current position in AST (source) space
    	out          token.Position // current position in output space
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  10. src/math/lgamma.go

    // license that can be found in the LICENSE file.
    
    package math
    
    /*
    	Floating-point logarithm of the Gamma function.
    */
    
    // The original C code and the long comment below are
    // from FreeBSD's /usr/src/lib/msun/src/e_lgamma_r.c and
    // came with this notice. The go code is a simplified
    // version of the original C.
    //
    // ====================================================
    // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 11K bytes
    - Viewed (0)
Back to top