Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 333 for original (0.16 sec)

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

    		// scanDir ignores files with import "C" when collecting the list
    		// of imports unless the "cgo" tag is provided. The following comment
    		// is copied from the original.
    		//
    		// import "C" is implicit requirement of cgo tag.
    		// When listing files on the command line (explicitFiles=true)
    		// we do not apply build tag filtering but we still do apply
    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/go/types/stmt.go

    			continue L
    		}
    		check.convertUntyped(&v, x.typ)
    		if v.mode == invalid {
    			continue L
    		}
    		// Order matters: By comparing v against x, error positions are at the case values.
    		res := v // keep original v unchanged
    		check.comparison(&res, x, token.EQL, true)
    		if res.mode == invalid {
    			continue L
    		}
    		if v.mode != constant_ {
    			continue L // we're done
    		}
    		// look for duplicate values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  3. src/time/format_test.go

    			return -1
    		}
    		return r
    	}
    
    	for _, marked := range nextStdChunkTests {
    		// marked is an expected output from markChunks.
    		// If we delete the parens and pass it through markChunks,
    		// we should get the original back.
    		format := strings.Map(noParens, marked)
    		out := markChunks(format)
    		if out != marked {
    			t.Errorf("nextStdChunk parses %q as %q, want %q", format, out, marked)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. src/internal/coverage/cformat/format.go

    // source position information (e.g. file and line). Note that we don't
    // include function name as part of the sorting criteria, the thinking
    // being that is better to provide things in the original source order.
    func (p *pstate) sortUnits(units []extcu) {
    	slices.SortFunc(units, func(ui, uj extcu) int {
    		ifile := p.funcs[ui.fnfid].file
    		jfile := p.funcs[uj.fnfid].file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. src/encoding/json/scanner_test.go

    		t.Fatalf("Indent error: %v", err)
    	}
    	b1 := buf1.Bytes()
    	if !bytes.Equal(b1, b) {
    		t.Error("Indent(Indent(jsonBig)) != Indent(jsonBig):")
    		diff(t, b1, b)
    		return
    	}
    
    	// should get back to original
    	buf1.Reset()
    	if err := Compact(&buf1, b); err != nil {
    		t.Fatalf("Compact error: %v", err)
    	}
    	b1 = buf1.Bytes()
    	if !bytes.Equal(b1, jsonBig) {
    		t.Error("Compact(Indent(jsonBig)) != jsonBig:")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/runtime/extern.go

    	the lock. But instead of the value corresponding to the amount of contention that call
    	stack caused, it corresponds to the amount of time the caller of unlock had to wait in its
    	original call to lock. A future release is expected to align those and remove this setting.
    
    	invalidptr: invalidptr=1 (the default) causes the garbage collector and stack
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top