Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 553 for uvarint (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/api/apps/v1/types.go

    	// replicas is the number of Pods created by the StatefulSet controller.
    	Replicas int32 `json:"replicas" protobuf:"varint,2,opt,name=replicas"`
    
    	// readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
    	ReadyReplicas int32 `json:"readyReplicas,omitempty" protobuf:"varint,3,opt,name=readyReplicas"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize-tensorlist.mlir

      %1 = "tf.AddN"(%arg0, %arg1) : (tensor<!tf_type.variant<tensor<*xi32>>>, tensor<!tf_type.variant<tensor<*xi32>>>) -> tensor<!tf_type.variant<tensor<*xi32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/features/FeaturesResolveIntegrationTest.groovy

            then:
            failure.assertHasCause("""Unable to find a variant of org:foo:1.0 providing the requested capability org:feature-3:
       - Variant api provides org:foo:1.0
       - Variant feature1 provides org:feature-1:1.0
       - Variant feature2 provides org:feature-2:1.0
       - Variant runtime provides org:foo:1.0""")
        }
    
        def "can select a variant providing the required set of capabilities"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 20:29:39 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top