Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 878 for repeats (0.28 sec)

  1. src/compress/bzip2/bzip2.go

    			// This is either the RUNA or RUNB symbol.
    			if repeat == 0 {
    				repeatPower = 1
    			}
    			repeat += repeatPower << v
    			repeatPower <<= 1
    
    			// This limit of 2 million comes from the bzip2 source
    			// code. It prevents repeat from overflowing.
    			if repeat > 2*1024*1024 {
    				return StructuralError("repeat count too large")
    			}
    			continue
    		}
    
    		if repeat > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. ci/official/utilities/code_check_full.bats

        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    repeats of these filename(s) with different casing:
    EOF
        find . | tr '[A-Z]' '[a-z]' | sort | uniq -d | tee $BATS_FILE_TMPDIR/repeats
        [[ ! -s $BATS_FILE_TMPDIR/repeats ]]
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 21:54:13 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    repeats of these filename(s) with different casing:
    EOF
        find . | tr '[A-Z]' '[a-z]' | sort | uniq -d | tee $BATS_FILE_TMPDIR/repeats
        [[ ! -s $BATS_FILE_TMPDIR/repeats ]]
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

                                   "' required for output list '",
                                   output_arg.name(), "' isn't an integer");
          int64_t repeats = mlir::cast<IntegerAttr>(repeats_attr).getInt();
    
          if (!output_arg.type_attr().empty()) {
            // Same type repeated "repeats" times.
            Attribute attr = attrs_[output_arg.type_attr()];
            if (!attr)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            assertTrue(BloomFilter.optimalNumOfBits(n, fpp) >= 0);
          }
        }
    
        // some random values
        Random random = new Random(0);
        for (int repeats = 0; repeats < 10000; repeats++) {
          assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0);
        }
    
        // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug_test.go

    	useGdb  = flag.Bool("g", false, "use Gdb instead of Delve (dlv), use gdb reference files")
    	force   = flag.Bool("f", false, "force run under not linux-amd64; also do not use tempdir")
    	repeats = flag.Bool("r", false, "detect repeats in debug steps and don't ignore them")
    	inlines = flag.Bool("i", false, "do inlining for gdb (makes testing flaky till inlining info is correct)")
    )
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/backoff.go

    	backoff := j.getNextBackoff()
    	if j.backoffTimer == nil {
    		j.backoffTimer = j.clock.NewTimer(backoff)
    	} else {
    		j.backoffTimer.Reset(backoff)
    	}
    	return j.backoffTimer
    }
    
    // ExponentialBackoff repeats a condition check with exponential backoff.
    //
    // It repeatedly checks the condition and then sleeps, using `backoff.Step()`
    // to determine the length of the sleep and adjust Duration and Steps.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. src/hash/maphash/smhasher_test.go

    			b[i] = 0
    		}
    	}
    }
    
    // Test strings with repeats, like "abcdabcdabcdabcd..."
    func TestSmhasherCyclic(t *testing.T) {
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	t.Parallel()
    	r := rand.New(rand.NewSource(1234))
    	const REPEAT = 8
    	const N = 1000000
    	h := newHashSet()
    	for n := 4; n <= 12; n++ {
    		b := make([]byte, REPEAT*n)
    		for i := 0; i < N; i++ {
    			b[0] = byte(i * 79 % 97)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/slices/slices.go

    		newslice = append(newslice, s...)
    	}
    	return newslice
    }
    
    // Repeat returns a new slice that repeats the provided slice the given number of times.
    // The result has length and capacity (len(x) * count).
    // The result is never nil.
    // Repeat panics if count is negative or if the result of (len(x) * count)
    // overflows.
    func Repeat[S ~[]E, E any](x S, count int) S {
    	if count < 0 {
    		panic("cannot be negative")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/internal/reflectlite/value.go

    	//	- flagIndir: val holds a pointer to the data
    	//	- flagAddr: v.CanAddr is true (implies flagIndir)
    	// Value cannot represent method values.
    	// The next five bits give the Kind of the value.
    	// This repeats typ.Kind() except for method values.
    	// The remaining 23+ bits give a method number for method values.
    	// If flag.kind() != Func, code can assume that flagMethod is unset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top