Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 570 for spans (0.07 sec)

  1. src/go/parser/parser_test.go

    package p
    
    var lastDecl int
    
    /* end of file */
    `
    	fset := token.NewFileSet()
    	f, err := ParseFile(fset, "file.go", src, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// File{Start,End} spans the entire file, not just the declarations.
    	if got, want := fset.Position(f.FileStart).String(), "file.go:1:1"; got != want {
    		t.Errorf("for File.FileStart, got %s, want %s", got, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. src/crypto/internal/mlkem768/mlkem768.go

    	quotient := uint32(uint64(dividend) * barrettMultiplier >> barrettShift)
    	remainder := dividend - quotient*q
    
    	// Since the remainder is in the range [0, 2q), not [0, q), we need to
    	// portion it into three spans for rounding.
    	//
    	//     [ 0,       q/2     ) -> round to 0
    	//     [ q/2,     q + q/2 ) -> round to 1
    	//     [ q + q/2, 2q      ) -> round to 2
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/Span.java

    import com.google.common.base.Objects;
    
    import java.io.Serializable;
    
    public class Span implements Serializable {
        private final Style style;
        private final String text;
    
        public Span(Style style, String text) {
            this.style = style;
            this.text = text;
        }
    
        public Span(String text) {
            this(Style.NORMAL, text);
        }
    
        public Style getStyle() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/config.go

    	// Will default to a value based on secure serving info and available ipv4 IPs.
    	ExternalAddress string
    
    	// TracerProvider can provide a tracer, which records spans for distributed tracing.
    	TracerProvider tracing.TracerProvider
    
    	//===========================================================================
    	// Fields you probably don't care about changing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  5. src/runtime/arena.go

    		rzSize := computeRZlog(span.elemsize)
    		span.elemsize -= rzSize
    		span.largeType.Size_ = span.elemsize
    		rzStart := span.base() + span.elemsize
    		span.userArenaChunkFree = makeAddrRange(span.base(), rzStart)
    		asanpoison(unsafe.Pointer(rzStart), span.limit-rzStart)
    		asanunpoison(unsafe.Pointer(span.base()), span.elemsize)
    	}
    
    	if rate := MemProfileRate; rate > 0 {
    		c := getMCache(mp)
    		if c == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  6. src/runtime/export_test.go

    		slow.TotalAlloc = 0
    		slow.Mallocs = 0
    		slow.Frees = 0
    		slow.HeapReleased = 0
    		var bySize [_NumSizeClasses]struct {
    			Mallocs, Frees uint64
    		}
    
    		// Add up current allocations in spans.
    		for _, s := range mheap_.allspans {
    			if s.state.get() != mSpanInUse {
    				continue
    			}
    			if s.isUnusedUserArenaChunk() {
    				continue
    			}
    			if sizeclass := s.spanclass.sizeclass(); sizeclass == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  7. src/runtime/mgcpacer.go

    	// excludes these objects (and hence only goes up between GCs).
    	//
    	// To reduce contention, this is updated only when obtaining a span
    	// from an mcentral and at this point it counts all of the unallocated
    	// slots in that span (which will be allocated before that mcache
    	// obtains another span from that mcentral). Hence, it slightly
    	// overestimates the "true" live heap size. It's better to overestimate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  8. src/runtime/mgcscavenge.go

    // the heap goal is defined in terms of bytes of objects, rather than pages like
    // RSS. As a result, we need to take into account for fragmentation internal to
    // spans. heapGoal / lastHeapGoal defines the ratio between the current heap goal
    // and the last heap goal, which tells us by how much the heap is growing and
    // shrinking. We estimate what the heap will grow to in terms of pages by taking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/parser.go

    				if msg[1] == '/' {
    					// line comment (newline is part of the comment)
    					pos = MakePos(p.file, line+1, colbase)
    				} else {
    					// regular comment
    					// (if the comment spans multiple lines it's not
    					// a valid line directive and will be discarded
    					// by updateBase)
    					pos = MakePos(p.file, line, col+uint(len(msg)))
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ppc64/asm.go

    		o2 = uint32(OP_PLA_SFX_R12) // pla r12, addr
    
    		// The trampoline's position is not known yet, insert a relocation.
    		r, _ := tramp.AddRel(objabi.R_ADDRPOWER_PCREL34)
    		r.SetOff(0)
    		r.SetSiz(8) // This spans 2 words.
    		r.SetSym(target)
    		r.SetAdd(offset)
    	} else {
    		// Used for default build mode for an executable
    		// Address of the call target is generated using
    		// relocation and doesn't depend on r2 (TOC).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
Back to top