Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 385 for anyone (0.16 sec)

  1. src/math/big/rat.go

    	}
    
    	shift := 52 - exp
    
    	// Optimization (?): partially pre-normalise.
    	for mantissa&1 == 0 && shift > 0 {
    		mantissa >>= 1
    		shift--
    	}
    
    	z.a.SetUint64(mantissa)
    	z.a.neg = f < 0
    	z.b.Set(intOne)
    	if shift > 0 {
    		z.b.Lsh(&z.b, uint(shift))
    	} else {
    		z.a.Lsh(&z.a, uint(-shift))
    	}
    	return z.norm()
    }
    
    // quotToFloat32 returns the non-negative float32 value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  2. pkg/test/loadbalancersim/network/connection.go

    )
    
    type Connection interface {
    	Name() string
    	Request(onDone func())
    	TotalRequests() uint64
    	ActiveRequests() uint64
    	Latency() *timeseries.Instance
    }
    
    func NewConnection(name string, request func(onDone func())) Connection {
    	return &connection{
    		request: request,
    		helper:  NewConnectionHelper(name),
    	}
    }
    
    type connection struct {
    	request func(onDone func())
    	helper  *ConnectionHelper
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        const std::string& sig_def_key, const SignatureDef& signature_def) {
      // Create local vectors for the input and output and sort them to be
      // deterministic. We don't want anyone to really depend on the order, client
      // should lookup argument/result mapping by attribute name.
      // To avoid accidentally depending on the order we use an unintuitive sorting.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  4. pkg/test/loadbalancersim/loadbalancer/leastrequest.go

    	if index2 == index1 {
    		index2 = (index2 + 1) % numConnections
    	}
    
    	return lb.get(index1), lb.get(index2)
    }
    
    func (lb *unweightedLeastRequest) Request(onDone func()) {
    	if len(lb.conns) == 1 {
    		lb.doRequest(lb.get(0), onDone)
    		return
    	}
    
    	// Pick 2 endpoints at random.
    	c1, c2 := lb.pick2()
    
    	// Choose the endpoint with fewer active requests.
    	selected := c1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. test/typeparam/mdempsky/14.go

    package main
    
    // Zero returns the zero value of T
    func Zero[T any]() (_ T) {
    	return
    }
    
    type AnyInt[X any] int
    
    func (AnyInt[X]) M() {
    	var have interface{} = Zero[X]()
    	var want interface{} = Zero[MyInt]()
    
    	if have != want {
    		println("FAIL")
    	}
    }
    
    type I interface{ M() }
    
    type MyInt int
    type U = AnyInt[MyInt]
    
    var x = U(0)
    var i I = x
    
    func main() {
    	x.M()
    	U.M(x)
    	(*U).M(&x)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 568 bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.8.md

        * Fixed the webhook admission plugin so that webhook author could use the DNS name of the service as the CommonName when generating the server cert for the webhook.
        * Action required:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 312.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

        abstract ImmutableActionSet<T> addAll(SetWithManyActions<T> source);
    
        abstract ImmutableActionSet<T> addOne(Action<? super T> action);
    
        private static class EmptySet<T> extends ImmutableActionSet<T> {
            @Override
            ImmutableActionSet<T> addOne(Action<? super T> action) {
                return new SingletonSet<T>(action);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ir/const.go

    	switch {
    	case typ.IsInteger():
    		val = intOne
    	case typ.IsFloat():
    		val = floatOne
    	case typ.IsComplex():
    		val = complexOne
    	default:
    		base.FatalfAt(pos, "%v cannot represent 1", typ)
    	}
    
    	return NewBasicLit(pos, typ, val)
    }
    
    var (
    	intOne     = constant.MakeInt64(1)
    	floatOne   = constant.ToFloat(intOne)
    	complexOne = constant.ToComplex(intOne)
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 18:53:26 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/ConfigurationOnDemandIntegrationTest.groovy

    }
    """
    
            when:
            run(":a:one", "-x", "two", "-x", "three")
    
            then:
            result.assertTasksExecuted(":a:one")
            fixture.assertProjectsConfigured(":", ":a")
    
            when:
            executer.usingProjectDirectory(file('a'))
            run(":a:one", "-x", "two", "-x", "three")
    
            then:
            result.assertTasksExecuted(":a:one")
            fixture.assertProjectsConfigured(":", ":a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. pkg/test/loadbalancersim/loadbalancer/roundrobin.go

    	*weightedConnections
    
    	next      int
    	nextMutex sync.Mutex
    }
    
    func (lb *roundRobin) Request(onDone func()) {
    	// Select the connection to use for this request.
    	lb.nextMutex.Lock()
    	selected := lb.get(lb.next)
    	lb.next = (lb.next + 1) % len(lb.conns)
    	lb.nextMutex.Unlock()
    
    	lb.doRequest(selected, onDone)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top