Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 281 for seed2 (0.07 sec)

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

    -- go.mod --
    module m
    
    go 1.16
    -- fuzz_test.go --
    package fuzz_test
    
    import (
    	"fmt"
    	"testing"
    )
    
    func FuzzA(f *testing.F) {
    	f.Add([]byte("seed"))
    	i := 0
    	f.Fuzz(func(t *testing.T, b []byte) {
    		i++
    		if string(b) == "seed" {
    			if i == 0 {
    				fmt.Println("a")
    			} else if i > 1 {
    				fmt.Println("b")
    			}
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 725 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    func FuzzMinimizeCount(f *testing.F) {
    	pid := os.Getpid()
    	n := 0
    	seed := bytes.Repeat([]byte("a"), 357)
    	f.Add(seed)
    	crashFound := false
    	f.Fuzz(func(t *testing.T, b []byte) {
    		if crashFound {
    			name := fmt.Sprintf("minimizecount/%v.%d", pid, n)
    			if err := os.WriteFile(name, nil, 0666); err != nil {
    				t.Fatal(err)
    			}
    			n++
    		}
    		if !bytes.Equal(b, seed) {  // this should happen right away
    			crashFound = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Hashing.java

        hashFunctions[0] = Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        int seed = GOOD_FAST_HASH_SEED;
        for (int i = 1; i < hashFunctionsNeeded; i++) {
          seed += 1500450271; // a prime; shouldn't matter
          hashFunctions[i] = murmur3_128(seed);
        }
        return new ConcatenatedHashFunction(hashFunctions);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                throw new IllegalStateException();
            }
            values.remove(0);
        }
    
        public <T> void seed(Class<T> clazz, Provider<T> value) {
            getScopeState().seed(clazz, value);
        }
    
        public <T> void seed(Class<T> clazz, final T value) {
            seed(clazz, (Provider<T>) () -> value);
        }
    
        public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_run.txt

    stdout FAIL
    stdout 'error here'
    stdout '=== RUN   FuzzFoo/thisfails'
    stdout '--- FAIL: FuzzFoo/thisfails'
    stdout '=== RUN   FuzzFoo/thispasses'
    stdout '--- PASS: FuzzFoo/thispasses'
    
    # Tests where -run matches all seed corpora.
    
    ! go test -run FuzzFoo/this
    stdout FAIL
    stdout 'error here'
    ! stdout 'no tests to run'
    
    ! go test -run /this
    stdout FAIL
    stdout 'error here'
    ! stdout 'no tests to run'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 20:43:02 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. src/cmd/compile/profile.sh

    # This script collects a CPU profile of the compiler
    # for building all targets in std and cmd, and puts
    # the profile at cmd/compile/default.pgo.
    
    dir=$(mktemp -d)
    cd $dir
    seed=$(date)
    
    for p in $(go list std cmd); do
    	h=$(echo $seed $p | md5sum | cut -d ' ' -f 1)
    	echo $p $h
    	go build -o /dev/null -gcflags=-cpuprofile=$PWD/prof.$h $p
    done
    
    go tool pprof -proto prof.* > $(go env GOROOT)/src/cmd/compile/default.pgo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 17:31:10 UTC 2023
    - 588 bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Hashing.java

        hashFunctions[0] = Murmur3_128HashFunction.GOOD_FAST_HASH_128;
        int seed = GOOD_FAST_HASH_SEED;
        for (int i = 1; i < hashFunctionsNeeded; i++) {
          seed += 1500450271; // a prime; shouldn't matter
          hashFunctions[i] = murmur3_128(seed);
        }
        return new ConcatenatedHashFunction(hashFunctions);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 09 00:37:15 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. src/crypto/ed25519/ed25519_test.go

    			t.Errorf("recreating key pair gave different public key on line %d: %x vs %x", lineNo, pubKey, pubKey2)
    		}
    
    		if seed := priv2.Seed(); !bytes.Equal(priv[:32], seed) {
    			t.Errorf("recreating key pair gave different seed on line %d: %x vs %x", lineNo, priv[:32], seed)
    		}
    	}
    
    	if err := scanner.Err(); err != nil {
    		t.Fatalf("error reading test data: %s", err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/c/CLanguageIntegrationTest.groovy

                                cCompiler.args '-frandom-seed="here is the \\'random\\' seed"'
                                // TODO:DAZ Find something that works here (for all our CI machines)
                                // linker.args '-Wl,-client_name,"a \\'client\\' name"'
                            } else {
                                cCompiler.args '-frandom-seed="here is the \\'random\\' seed"'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. src/internal/chacha8rand/chacha8_arm64.s

    // block runs 4 ChaCha8 block transformations in the four stripes of the V registers.
    
    // func block(seed *[8]uint32, blocks *[4][16]uint32, counter uint32)
    TEXT ·block<ABIInternal>(SB), NOSPLIT, $16
    	// seed in R0
    	// blocks in R1
    	// counter in R2
    
    	// Load initial constants into top row.
    	MOVD $·chachaConst(SB), R10
    	VLD4R (R10), [V0.S4, V1.S4, V2.S4, V3.S4]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top