Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 562 for positively (0.17 sec)

  1. src/cmd/go/testdata/script/cover_swig.txt

    stdout 'coverage: 100.0% of statements'
    
    -- go.mod --
    module simple
    
    go 1.21
    -- main.c --
    /* A global variable */
    double Foo = 3.0;
    
    /* Compute the greatest common divisor of positive integers */
    int gcd(int x, int y) {
      int g;
      g = y;
      while (x > 0) {
        g = x;
        x = y % x;
        y = g;
      }
      return g;
    }
    
    
    -- main.go --
    package main
    
    import (
    	"fmt"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 05 21:29:51 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/math/rand/v2/auto_test.go

    		out = append(out, Int64())
    	}
    
    	// Look for out in seeded output.
    	// Strictly speaking, we should look for them in order,
    	// but this is good enough and not significantly more
    	// likely to have a false positive.
    	r := New(NewPCG(1, 0))
    	found := 0
    	for i := 0; i < 1000; i++ {
    		x := r.Int64()
    		if x == out[found] {
    			found++
    			if found == len(out) {
    				t.Fatalf("found unseeded output in Seed(1) output")
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:09:26 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/tests/raise_to_tf.mlir

      %1 = tfr.call @tf__positive(%0) : (!tfr.tensor) -> !tfr.tensor
      %2 = "tfr.cast"(%1) : (!tfr.tensor) -> tensor<2xi1>
      func.return %2 : tensor<2xi1>
    // CHECK: %[[positive:.*]] = "tf.Positive"(%arg0) : (tensor<2xf32>) -> tensor<*xi1>
    // CHECK: %[[res:.*]] = "tf.EnsureShape"(%[[positive]]) <{shape = #tf_type.shape<2>}> : (tensor<*xi1>) -> tensor<2xi1>
    // CHECK: return %[[res]] : tensor<2xi1>
    }
    
    // CHECK-LABEL: fixed_element_attribute_invalid
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package waitgroup implements SafeWaitGroup wrap of sync.WaitGroup.
    // Add with positive delta when waiting will fail, to prevent sync.WaitGroup race issue.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 06 02:34:14 UTC 2017
    - 799 bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding.go

    // 1. deckSize or handSize is not positive
    // 2. handSize is greater than deckSize
    // 3. deckSize is impractically large (greater than 1<<26)
    // 4. required entropy bits of deckSize and handSize is greater than MaxHashBits
    func NewDealer(deckSize, handSize int) (*Dealer, error) {
    	if deckSize <= 0 || handSize <= 0 {
    		return nil, fmt.Errorf("deckSize %d or handSize %d is not positive", deckSize, handSize)
    	}
    	if handSize > deckSize {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 23 08:38:03 UTC 2019
    - 4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/MathTesting.java

            public BigInteger apply(BigInteger x) {
              return x.negate();
            }
          };
    
      /*
       * This list contains values that attempt to provoke overflow in integer operations. It contains
       * positive values on or near 2^N for N near multiples of 8 (near byte boundaries).
       */
      static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES;
    
      static final Iterable<Integer> NEGATIVE_INTEGER_CANDIDATES;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/instrumentation-agent-services/src/main/java/org/gradle/internal/instrumentation/agent/AgentUtils.java

         * If the returned value is {@code true} then the argument is definitely a java agent application.
         * However, only the name of the agent jar is checked, so it is possible to have false positives and false negatives.
         *
         * @param jvmArg the argument to check
         * @return {@code true} if the argument looks like a switch, {@code false} otherwise
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/os/dir_unix.go

    	// Readdir returns all the FileInfo from the directory in a
    	// single slice".
    	//
    	// But below, we use only negative to mean looping until the
    	// end and positive to mean bounded, with positive
    	// terminating at 0.
    	if n == 0 {
    		n = -1
    	}
    
    	for n != 0 {
    		// Refill the buffer if necessary
    		if d.bufp >= d.nbuf {
    			d.bufp = 0
    			var errno error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/sync/waitgroup.go

    // If the counter becomes zero, all goroutines blocked on [WaitGroup.Wait] are released.
    // If the counter goes negative, Add panics.
    //
    // Note that calls with a positive delta that occur when the counter is zero
    // must happen before a Wait. Calls with a negative delta, or calls with a
    // positive delta that start when the counter is greater than zero, may happen
    // at any time.
    // Typically this means the calls to Add should execute before the statement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. src/time/tick.go

    // The Stop method is no longer necessary to help the garbage collector.
    // (Code may of course still want to call Stop to stop the ticker for other reasons.)
    func NewTicker(d Duration) *Ticker {
    	if d <= 0 {
    		panic("non-positive interval for NewTicker")
    	}
    	// Give the channel a 1-element time buffer.
    	// If the client falls behind while reading, we drop ticks
    	// on the floor until the client catches up.
    	c := make(chan Time, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top