Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for Flip (0.04 sec)

  1. src/fmt/scan.go

    		copy(r.pendBuf[r.pending:], r.buf[size:n])
    		r.pending += n - size
    	}
    	// Flip the bits of the rune so it's available to UnreadRune.
    	r.peekRune = ^rr
    	return
    }
    
    func (r *readRune) UnreadRune() error {
    	if r.peekRune >= 0 {
    		return errors.New("fmt: scanning called UnreadRune with no rune available")
    	}
    	// Reverse bit flip of previously read rune to obtain valid >=0 state.
    	r.peekRune = ^r.peekRune
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. src/crypto/ecdh/ecdh_test.go

    		// GenerateKey does rejection sampling. If the masking works correctly,
    		// the probability of a rejection is 1-ord(G)/2^ceil(log2(ord(G))),
    		// which for all curves is small enough (at most 2^-32, for P-256) that
    		// a bit flip is more likely to make this test fail than bad luck.
    		// Account for the extra MaybeReadByte byte, too.
    		if got, expected := r.n, len(k.Bytes())+1; got > expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. pkg/istio-agent/xds_proxy_test.go

    	expectCondition("")
    
    	// simulate envoy send xds requests
    	sendDownstreamWithNode(t, downstream, node)
    
    	// after lds sent, the caching healthcheck will be resent
    	expectCondition(status.StatusTrue)
    
    	// Flip status back and forth, ensure we update
    	proxy.sendHealthCheckRequest(healthy)
    	expectCondition(status.StatusTrue)
    	proxy.sendHealthCheckRequest(unhealthy)
    	expectCondition(status.StatusFalse)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  4. pkg/registry/batch/job/strategy.go

    		// controllers meet the expectations of the clients of the Job API.
    		// For example, we verify that a Job in terminal state (Failed or Complete)
    		// does not flip to a non-terminal state.
    		//
    		// In the checks below we fail validation for Job status fields (or conditions) only if they change their values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        // Construct a new array of input shapes excluding the input shapes of the
        // erased arguments.
        SmallVector<Attribute> updated_input_shapes_attr;
        for (const unsigned i : args_to_erase_bit_vector.flip().set_bits()) {
          updated_input_shapes_attr.emplace_back(input_shapes_attr[i]);
        }
    
        // Replaces the attribute with the updated "#tf_type.shape" array.
        // Builder builder(func_op.getContext());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. pilot/pkg/model/endpointshards.go

    		// but we should not delete the keys from EndpointIndex map - that will trigger
    		// unnecessary full push which can become a real problem if a pod is in crashloop and thus endpoints
    		// flip flopping between 1 and 0.
    		e.DeleteServiceShard(shard, hostname, namespace, true)
    		log.Infof("Incremental push, service %s at shard %v has no endpoints", hostname, shard)
    		return IncrementalPush
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        final BloomFilter<Integer> bloomFilter =
            BloomFilter.create(Funnels.integerFunnel(), 15_000_000, 0.01);
    
        // This check has to be BEFORE the loop because the random insertions can
        // flip GOLDEN_PRESENT_KEY to true even if it wasn't explicitly inserted
        // (false positive).
        assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isFalse();
        for (int i = 0; i < NUM_PUTS; i++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. src/index/suffixarray/sais.go

    	// one preceded by an index of type S, at which point it must stop.
    	//
    	// As we scan through the array, we clear the worked entries (sa[i] > 0) to zero,
    	// and we flip sa[i] < 0 to -sa[i], so that the loop finishes with sa containing
    	// only the indexes of the leftmost L-type indexes for each LMS-substring.
    	//
    	// The suffix array sa therefore serves simultaneously as input, output,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CharMatcher.java

          return precomputedPositive(totalCharacters, table, toString());
        } else {
          // TODO(lowasser): is it worth it to worry about the last character of large matchers?
          table.flip(Character.MIN_VALUE, Character.MAX_VALUE + 1);
          int negatedCharacters = DISTINCT_CHARS - totalCharacters;
          String suffix = ".negate()";
          final String description = toString();
          String negatedDescription =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  10. src/runtime/mgcscavenge_test.go

    				// random test. Generate a bitmap which is either 0 or
    				// randomly set bits for each m-aligned group of m bits.
    				val := uint64(0)
    				for n := uint(0); n < 64; n += m {
    					// For each group of m bits, flip a coin:
    					// * Leave them as zero.
    					// * Set them randomly.
    					if rand.Uint64()%2 == 0 {
    						val |= (rand.Uint64() & ((1 << m) - 1)) << n
    					}
    				}
    				check(val, m)
    			}
    		}
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top