Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Rischard (1.66 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    	"focus": helpText(
    		"Restricts to samples going through a node matching regexp",
    		"Discard samples that do not include a node matching this regexp.",
    		"Matching includes the function name, filename or object name."),
    	"ignore": helpText(
    		"Skips paths going through any nodes matching regexp",
    		"If set, discard samples that include a node matching this regexp.",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/lookup.go

    	// it must not be a pointer or interface type and it must be declared
    	// in the same package as the method.").
    	// Thus, if we have a named pointer type, proceed with the underlying
    	// pointer type but discard the result if it is a method since we would
    	// not have found it for T (see also go.dev/issue/8590).
    	if t := asNamed(T); t != nil {
    		if p, _ := t.Underlying().(*Pointer); p != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/resolver.go

    	// entries were deleted at the end of typeDecl because the respective receiver base
    	// types were not found. In that case, an error was reported when declaring those
    	// methods. We can now safely discard this map.
    	check.methods = nil
    }
    
    // inSourceOrder implements the sort.Sort interface.
    type inSourceOrder []Object
    
    func (a inSourceOrder) Len() int           { return len(a) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. src/flag/flag_test.go

    func (f *flagVar) Set(value string) error {
    	*f = append(*f, value)
    	return nil
    }
    
    func TestUserDefined(t *testing.T) {
    	var flags FlagSet
    	flags.Init("test", ContinueOnError)
    	flags.SetOutput(io.Discard)
    	var v flagVar
    	flags.Var(&v, "v", "usage")
    	if err := flags.Parse([]string{"-v", "1", "-v", "2", "-v=3"}); err != nil {
    		t.Error(err)
    	}
    	if len(v) != 3 {
    		t.Fatal("expected 3 args; got ", len(v))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. src/encoding/json/bench_test.go

    	}
    }
    
    func BenchmarkCodeEncoder(b *testing.B) {
    	b.ReportAllocs()
    	if codeJSON == nil {
    		b.StopTimer()
    		codeInit()
    		b.StartTimer()
    	}
    	b.RunParallel(func(pb *testing.PB) {
    		enc := NewEncoder(io.Discard)
    		for pb.Next() {
    			if err := enc.Encode(&codeStruct); err != nil {
    				b.Fatalf("Encode error: %v", err)
    			}
    		}
    	})
    	b.SetBytes(int64(len(codeJSON)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:00:17 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/cmd/distpack/pack.go

    	binArch := base.Clone()
    	binArch.Filter(func(name string) bool {
    		// Discard bin/ for now, will add back later.
    		if strings.HasPrefix(name, "bin/") {
    			return false
    		}
    		// Discard most of pkg.
    		if strings.HasPrefix(name, "pkg/") {
    			// Keep pkg/include.
    			if strings.HasPrefix(name, "pkg/include/") {
    				return true
    			}
    			// Discard other pkg except pkg/tool.
    			if !strings.HasPrefix(name, "pkg/tool/") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    		// in fact, FuncDecl.Recv precedes FuncDecl.Type.Func.
    		//
    		// As a workaround, we inline the case for FuncType
    		// here and order things correctly.
    		//
    		children = nil // discard ast.Walk(FuncDecl) info subtrees
    		children = append(children, tok(n.Type.Func, len("func")))
    		if n.Recv != nil {
    			children = append(children, n.Recv)
    		}
    		children = append(children, n.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/text/transform/transform.go

    	return len(src), nil
    }
    
    type discard struct{ NopResetter }
    
    func (discard) Transform(dst, src []byte, atEOF bool) (nDst, nSrc int, err error) {
    	return 0, len(src), nil
    }
    
    var (
    	// Discard is a Transformer for which all Transform calls succeed
    	// by consuming all bytes and writing nothing.
    	Discard Transformer = discard{}
    
    	// Nop is a SpanningTransformer that copies src to dst.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/staticinit/sched.go

    		return false // outlined map init call; no mutations
    	}
    
    	if !s.seenMutation {
    		s.seenMutation = mayModifyPkgVar(rhs)
    	}
    
    	if allBlank(lhs) && !AnySideEffects(rhs) {
    		return true // discard
    	}
    
    	// Only worry about simple "l = r" assignments. The OAS2*
    	// assignments mostly necessitate dynamic execution anyway.
    	if len(lhs) > 1 {
    		return false
    	}
    
    	lno := ir.SetPos(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    	}, {
    		name: "PAX header too long",
    		h:    &Header{PAXRecords: map[string]string{"GOLANG.x": strings.Repeat("a", maxSpecialFileSize)}},
    	}} {
    		w := NewWriter(io.Discard)
    		if err := w.WriteHeader(test.h); err != ErrFieldTooLong {
    			t.Errorf("%v: w.WriteHeader() = %v, want ErrFieldTooLong", test.name, err)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
Back to top