Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 297 for rounds (0.62 sec)

  1. src/time/example_test.go

    	if err != nil {
    		panic(err)
    	}
    
    	round := []time.Duration{
    		time.Nanosecond,
    		time.Microsecond,
    		time.Millisecond,
    		time.Second,
    		2 * time.Second,
    		time.Minute,
    		10 * time.Minute,
    		time.Hour,
    	}
    
    	for _, r := range round {
    		fmt.Printf("d.Round(%6s) = %s\n", r, d.Round(r).String())
    	}
    	// Output:
    	// d.Round(   1ns) = 1h15m30.918273645s
    	// d.Round(   1µs) = 1h15m30.918274s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  2. src/image/image.go

    	// ColorModel returns the Image's color model.
    	ColorModel() color.Model
    	// Bounds returns the domain for which At can return non-zero color.
    	// The bounds do not necessarily contain the point (0, 0).
    	Bounds() Rectangle
    	// At returns the color of the pixel at (x, y).
    	// At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid.
    	// At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one.
    	At(x, y int) color.Color
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

    
    private
    fun ApiTypeProvider.Context.apiTypeParametersFor(visitedSignature: BaseSignatureVisitor?): List<ApiTypeUsage> =
        visitedSignature?.typeParameters?.map { (binaryName, bounds) -> apiTypeUsageFor(binaryName, bounds = bounds) }
            ?: emptyList()
    
    
    private
    fun ApiTypeProvider.Context.apiFunctionParametersFor(function: ApiFunction, delegate: MethodNode, visitedSignature: MethodSignatureVisitor?) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 19:56:10 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. src/runtime/panic.go

    	panicCheck1(getcallerpc(), "slice bounds out of range")
    	panic(boundsError{x: int64(x), signed: true, y: y, code: boundsSlice3Alen})
    }
    func goPanicSlice3AlenU(x uint, y int) {
    	panicCheck1(getcallerpc(), "slice bounds out of range")
    	panic(boundsError{x: int64(x), signed: false, y: y, code: boundsSlice3Alen})
    }
    func goPanicSlice3Acap(x int, y int) {
    	panicCheck1(getcallerpc(), "slice bounds out of range")
    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. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    func newWebhookAnnotator(attr *admission.VersionedAttributes, round, idx int, webhook, configuration string) *webhookAnnotator {
    	return &webhookAnnotator{
    		attr:                    attr,
    		failedOpenAnnotationKey: fmt.Sprintf("%sround_%d_index_%d", MutationAuditAnnotationFailedOpenKeyPrefix, round, idx),
    		patchAnnotationKey:      fmt.Sprintf("%sround_%d_index_%d", PatchAuditAnnotationPrefix, round, idx),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

          if (type == null) {
            Type[] bounds = var.getBounds();
            if (bounds.length == 0) {
              return var;
            }
            Type[] resolvedBounds = new TypeResolver(forDependants).resolveTypes(bounds);
            /*
             * We'd like to simply create our own TypeVariable with the newly resolved bounds. There's
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  7. src/encoding/binary/binary.go

    var BigEndian bigEndian
    
    type littleEndian struct{}
    
    func (littleEndian) Uint16(b []byte) uint16 {
    	_ = b[1] // bounds check hint to compiler; see golang.org/issue/14808
    	return uint16(b[0]) | uint16(b[1])<<8
    }
    
    func (littleEndian) PutUint16(b []byte, v uint16) {
    	_ = b[1] // early bounds check to guarantee safety of writes below
    	b[0] = byte(v)
    	b[1] = byte(v >> 8)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. src/crypto/internal/bigmod/nat.go

    func (x *Nat) Equal(y *Nat) choice {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    	xLimbs := x.limbs[:size]
    	yLimbs := y.limbs[:size]
    
    	equal := yes
    	for i := 0; i < size; i++ {
    		equal &= ctEq(xLimbs[i], yLimbs[i])
    	}
    	return equal
    }
    
    // IsZero returns 1 if x == 0, and 0 otherwise.
    func (x *Nat) IsZero() choice {
    	// Eliminate bounds checks in the loop.
    	size := len(x.limbs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 24K bytes
    - Viewed (0)
  9. src/image/gif/writer.go

    		return
    	}
    
    	b := pm.Bounds()
    	if b.Min.X < 0 || b.Max.X >= 1<<16 || b.Min.Y < 0 || b.Max.Y >= 1<<16 {
    		e.err = errors.New("gif: image block is too large to encode")
    		return
    	}
    	if !b.In(image.Rectangle{Max: image.Point{e.g.Config.Width, e.g.Config.Height}}) {
    		e.err = errors.New("gif: image block is out of bounds")
    		return
    	}
    
    	transparentIndex := -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

            assertFullMessageCorrect("""   > Found multiple transforms that can produce a variant of project : with requested attributes:
           - color 'red'
           - shape 'round'
         Found the following transforms:
           - From 'configuration ':roundBlueLiquidElements'':
               - With source attributes:
                   - color 'blue'
                   - shape 'round'
                   - state 'liquid'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top