Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,097 for uvarint (0.12 sec)

  1. platforms/documentation/docs/src/docs/userguide/img/cpp-unit-test-variant-task-graph.png

    cpp-unit-test-variant-task-graph.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    		return cr
    	}
    	return r
    }
    
    // Variant represents a registered variant of a language as defined by BCP 47.
    type Variant struct {
    	ID  uint8
    	str string
    }
    
    // ParseVariant parses and returns a Variant. An error is returned if s is not
    // a valid variant.
    func ParseVariant(s string) (v Variant, err error) {
    	defer func() {
    		if recover() != nil {
    			v = Variant{}
    			err = ErrSyntax
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/cross_project_publications.adoc

    As a consequence, if we want our instrumented classes to be used in place of this variant when executing tests, we need to attach similar attributes to our variant.
    In fact, the attribute we care about is `org.gradle.libraryelements` which explains _what the variant contains_, so we can setup the variant this way:
    
    .Declaring the variant attributes
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 18K bytes
    - Viewed (0)
  4. src/runtime/tracebuf.go

    	// Write the buffer's header.
    	if exp == traceNoExperiment {
    		w.byte(byte(traceEvEventBatch))
    	} else {
    		w.byte(byte(traceEvExperimentalBatch))
    		w.byte(byte(exp))
    	}
    	w.varint(uint64(w.gen))
    	w.varint(uint64(mID))
    	w.varint(uint64(ts))
    	w.traceBuf.lenPos = w.varintReserve()
    	return w
    }
    
    // traceBufQueue is a FIFO of traceBufs.
    type traceBufQueue struct {
    	head, tail *traceBuf
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. src/internal/trace/event/event.go

    	// HasData is true if the event has trailer consisting of a
    	// varint length followed by unencoded bytes of some data.
    	//
    	// An event may not be both a timed event and have data.
    	HasData bool
    
    	// IsStack indicates that the event represents a complete
    	// stack trace. Specifically, it means that after the arguments
    	// there's a varint length, followed by 4*length varints. Each
    	// group of 4 represents the PC, file ID, func ID, and line number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    	if needSort {
    		sort.Sort(variantsSort{varID, variant})
    		k, l := 0, -1
    		for i, v := range varID {
    			w := int(v)
    			if l == w {
    				// Remove duplicates.
    				continue
    			}
    			varID[k] = varID[i]
    			variant[k] = variant[i]
    			k++
    			l = w
    		}
    		if str := bytes.Join(variant[:k], separator); len(str) == 0 {
    			end = start - 1
    		} else {
    			scan.resizeRange(start, end, len(str))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/variant_model.adoc

    Finally, Gradle selects the appropriate variant by looking at the variant attributes:
    
    - the consumer wants a variant with attributes `org.gradle.usage=java-api`
    - the producer has a matching variant (`apiElements`)
    - the producer has a non-matching variant (`runtimeElements`)
    
    Gradle provides the artifacts and dependencies from the `apiElements` variant to the consumer.
    
    == A more complicated example
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    	}
    
    	x := base.Ctxt.Lookup(s.curfn.LSym.Name + ".opendefer")
    	x.Set(obj.AttrContentAddressable, true)
    	s.curfn.LSym.Func().OpenCodedDeferInfo = x
    
    	off := 0
    	off = objw.Uvarint(x, off, uint64(-s.deferBitsTemp.FrameOffset()))
    	off = objw.Uvarint(x, off, uint64(-firstOffset))
    }
    
    // buildssa builds an SSA function for fn.
    // worker indicates which of the backend workers is doing the processing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. src/runtime/pprof/protobuf.go

    	tmp  [16]byte
    	nest int
    }
    
    func (b *protobuf) varint(x uint64) {
    	for x >= 128 {
    		b.data = append(b.data, byte(x)|0x80)
    		x >>= 7
    	}
    	b.data = append(b.data, byte(x))
    }
    
    func (b *protobuf) length(tag int, len int) {
    	b.varint(uint64(tag)<<3 | 2)
    	b.varint(uint64(len))
    }
    
    func (b *protobuf) uint64(tag int, x uint64) {
    	// append varint to b.data
    	b.varint(uint64(tag)<<3 | 0)
    	b.varint(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:09:46 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. src/runtime/tracetype.go

    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write a traceAllocFreeTypesBatch byte.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    		// Annotate the batch as containing types.
    		w.byte(byte(traceAllocFreeTypesBatch))
    	}
    
    	// Emit type.
    	w.varint(uint64(node.id))
    	w.varint(uint64(uintptr(unsafe.Pointer(typ))))
    	w.varint(uint64(typ.Size()))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top