Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 260 for toint (0.05 sec)

  1. src/image/gif/writer_test.go

    			}
    		}
    	}
    }
    
    func TestEncodeNonZeroMinPoint(t *testing.T) {
    	points := []image.Point{
    		{-8, -9},
    		{-4, -4},
    		{-3, +3},
    		{+0, +0},
    		{+2, +2},
    	}
    	for _, p := range points {
    		src := image.NewPaletted(image.Rectangle{
    			Min: p,
    			Max: p.Add(image.Point{6, 6}),
    		}, palette.Plan9)
    		var buf bytes.Buffer
    		if err := Encode(&buf, src, nil); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/staticpods.go

    	KubernetesDir() string
    	// PatchesDir should point to the folder where patches for components are stored
    	PatchesDir() string
    	// RealManifestPath gets the file path for the component in the "real" static pod manifest directory used by the kubelet
    	RealManifestPath(component string) string
    	// RealManifestDir should point to the static pod manifest directory used by the kubelet
    	RealManifestDir() string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 10:07:41 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/crypto/ed25519/ed25519.go

    	}
    
    	S, err := edwards25519.NewScalar().SetCanonicalBytes(sig[32:])
    	if err != nil {
    		return false
    	}
    
    	// [S]B = R + [k]A --> [k](-A) + [S]B = R
    	minusA := (&edwards25519.Point{}).Negate(A)
    	R := (&edwards25519.Point{}).VarTimeDoubleScalarBaseMult(k, minusA, S)
    
    	return bytes.Equal(sig[:32], R.Bytes())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. src/runtime/cgocall.go

    	// and cause an async preemption to fail, but at this point a
    	// sync preemption will succeed (though this is not a matter
    	// of correctness).
    	osPreemptExtEnter(mp)
    
    	mp.incgo = true
    	// We use ncgo as a check during execution tracing for whether there is
    	// any C on the call stack, which there will be after this point. If
    	// there isn't, we can use frame pointer unwinding to collect call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. src/internal/trace/gc.go

    			// duration, then the windowed MU function is
    			// only defined at a single point, so the MU
    			// distribution is not well-defined.
    			//
    			// 2. If there are no events, then the MU
    			// distribution has no mass.
    			//
    			// Either way, all of the quantiles will have
    			// converged toward the MMU at this point.
    			mu = acc.mmu
    		}
    		out[i] = mu
    	}
    	return out
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. src/runtime/mbarrier.go

    // handle the profile logging.
    
    // typedmemmove copies a value of type typ to dst from src.
    // Must be nosplit, see #16026.
    //
    // TODO: Perfect for go:nosplitrec since we can't have a safe point
    // anywhere in the bulk barrier or memmove.
    //
    // typedmemmove should be an internal detail,
    // but widely used packages access it using linkname.
    // Notable members of the hall of shame include:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. src/cmd/trace/gstate.go

    // to blockedSyscallEnd -- both must be called when a syscall ends and that syscall
    // blocked. They're kept separate because syscallEnd indicates the point at which the
    // goroutine is no longer executing on the resource (e.g. a proc) whereas blockedSyscallEnd
    // is the point at which the goroutine actually exited the syscall regardless of which
    // resource that happened on.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/informers.go

    			// the CNI plugin chain, and have a PodIP.
    			//
    			// If PodIPs exists, it is preferred, otherwise fallback to PodIP.
    			//
    			// If we get to this point and have a pod that really and truly has no IP in either of those,
    			// it's not routable at this point and something is wrong/we should discard this event.
    			podIPs := util.GetPodIPsIfPresent(pod)
    			if len(podIPs) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/encoding/gob/encode.go

    		state.encodeUint(value)
    	}
    }
    
    // floatBits returns a uint64 holding the bits of a floating-point number.
    // Floating-point numbers are transmitted as uint64s holding the bits
    // of the underlying representation. They are sent byte-reversed, with
    // the exponent end coming out first, so integer floating point numbers
    // (for example) transmit more compactly. This routine does the
    // swizzling.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/liveness/plive.go

    	// unsafePoints bit i is set if Value ID i is an unsafe-point
    	// (preemption is not allowed). Only valid if !allUnsafe.
    	unsafePoints bitvec.BitVec
    	// unsafeBlocks bit i is set if Block ID i is an unsafe-point
    	// (preemption is not allowed on any end-of-block
    	// instructions). Only valid if !allUnsafe.
    	unsafeBlocks bitvec.BitVec
    
    	// An array with a bit vector for each safe point in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
Back to top