Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for corpus (0.47 sec)

  1. src/internal/fuzz/fuzz.go

    	// countWaiting is the number of fuzzing executions the coordinator is
    	// waiting on workers to complete.
    	countWaiting int64
    
    	// corpus is a set of interesting values, including the seed corpus and
    	// generated values that workers reported as interesting.
    	corpus corpus
    
    	// minimizationAllowed is true if one or more of the types of fuzz
    	// function's parameters can be minimized.
    	minimizationAllowed bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. src/testing/fuzz.go

    	testContext *testContext
    
    	// inFuzzFn is true when the fuzz function is running. Most F methods cannot
    	// be called when inFuzzFn is true.
    	inFuzzFn bool
    
    	// corpus is a set of seed corpus entries, added with F.Add and loaded
    	// from testdata.
    	corpus []corpusEntry
    
    	result     fuzzResult
    	fuzzCalled bool
    }
    
    var _ TB = (*F)(nil)
    
    // corpusEntry is an alias to the same type as internal/fuzz.CorpusEntry.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz.txt

    stdout FAIL
    stdout 'failed some precondition'
    
    # Test success with seed corpus in f.Fuzz
    go test -run FuzzPass fuzz_add_test.go
    stdout ok
    ! stdout FAIL
    ! stdout 'off by one error'
    
    # Test fatal with seed corpus in f.Fuzz
    ! go test -run FuzzFatal fuzz_add_test.go
    ! stdout ^ok
    stdout FAIL
    stdout 'fatal here'
    
    # Test panic with seed corpus in f.Fuzz
    ! go test -run FuzzPanic fuzz_add_test.go
    ! stdout ^ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. src/internal/fuzz/encoding.go

    )
    
    // encVersion1 will be the first line of a file with version 1 encoding.
    var encVersion1 = "go test fuzz v1"
    
    // marshalCorpusFile encodes an arbitrary number of arguments into the file format for the
    // corpus.
    func marshalCorpusFile(vals ...any) []byte {
    	if len(vals) == 0 {
    		panic("must have at least one value to marshal")
    	}
    	b := bytes.NewBuffer([]byte(encVersion1 + "\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 16:39:12 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. src/net/netip/fuzz_test.go

    // license that can be found in the LICENSE file.
    
    package netip_test
    
    import (
    	"bytes"
    	"encoding"
    	"fmt"
    	"net"
    	. "net/netip"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    var corpus = []string{
    	// Basic zero IPv4 address.
    	"0.0.0.0",
    	// Basic non-zero IPv4 address.
    	"192.168.140.255",
    	// IPv4 address in windows-style "print all the digits" form.
    	"010.000.015.001",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  6. src/internal/fuzz/worker.go

    			Parent:     entryIn.Path,
    			Path:       name,
    			Data:       dataOut,
    			Generation: entryIn.Generation + 1,
    		}
    		if args.Warmup {
    			// The bytes weren't mutated, so if entryIn was a seed corpus value,
    			// then entryOut is too.
    			entryOut.IsSeed = entryIn.IsSeed
    		}
    	}
    
    	return entryOut, resp, false, callErr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  7. docs/fr/docs/features.md

    * Documentation automatique des modèles de données avec <a href="http://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (comme OpenAPI est aussi basée sur JSON Schema).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. pkg/fieldpath/fieldpath_test.go

    		"foo":                                                    "bar",
    		"flannel.alpha.coreos.com/backend-data":                  `{"VNI":1,"VtepMAC":"ce:f9:c7:a4:de:64"}`,
    		"flannel.alpha.coreos.com/backend-type":                  "vxlan",
    		"flannel.alpha.coreos.com/kube-subnet-manager":           "true",
    		"flannel.alpha.coreos.com/public-ip":                     "192.168.19.160",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 06:26:55 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. docs/fr/docs/index.md

    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Exemple plus poussé
    
    Maintenant, modifiez le fichier `main.py` pour recevoir <abbr title="en anglais : body">le corps</abbr> d'une requête `PUT`.
    
    Déclarez ce corps en utilisant les types Python standards, grâce à Pydantic.
    
    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Apr 29 05:18:04 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/httproute.go

    // foo:80, foo.local:80, foo.local.campus:80, with and without ports. It will not generate
    // foo.local.campus.net (full hostname) since its already added elsewhere.
    //
    // - Given foo.local.campus.net on proxy domain remote.campus.net, this function generates
    // foo.local:80, foo.local.campus:80
    //
    // - Given foo.local.campus.net on proxy domain "" or proxy domain example.com, this
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (1)
Back to top