Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 759 for Godebug (0.16 sec)

  1. src/mime/multipart/multipart.go

    FileHeaders to 10000.
    These limits may be adjusted with the GODEBUG=multipartmaxheaders=<values>
    setting.
    
    Reader.ReadForm further limits the number of parts in a form to 1000.
    This limit may be adjusted with the GODEBUG=multipartmaxparts=<value>
    setting.
    */
    package multipart
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"mime"
    	"mime/quotedprintable"
    	"net/textproto"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/mime/multipart/formdata.go

    // memory.
    func (r *Reader) ReadForm(maxMemory int64) (*Form, error) {
    	return r.readForm(maxMemory)
    }
    
    var (
    	multipartfiles    = godebug.New("#multipartfiles") // TODO: document and remove #
    	multipartmaxparts = godebug.New("multipartmaxparts")
    )
    
    func (r *Reader) readForm(maxMemory int64) (_ *Form, err error) {
    	form := &Form{make(map[string][]string), make(map[string][]*FileHeader)}
    	var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_edit.txt

    cd $WORK/local
    go mod init foo
    go mod edit -module local-only -require=other-local@v1.0.0 -replace other-local@v1.0.0=./other
    cmpenv go.mod go.mod.edit
    
    # go mod edit -godebug
    cd $WORK/g
    cp go.mod.start go.mod
    go mod edit -godebug key=value
    cmpenv go.mod go.mod.edit
    go mod edit -dropgodebug key2
    cmpenv go.mod go.mod.edit
    go mod edit -dropgodebug key
    cmpenv go.mod go.mod.start
    
    -- x.go --
    package x
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/fsys/fsys.go

    	"errors"
    	"fmt"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"log"
    	"os"
    	pathpkg "path"
    	"path/filepath"
    	"runtime"
    	"runtime/debug"
    	"sort"
    	"strings"
    	"sync"
    	"time"
    )
    
    // Trace emits a trace event for the operation and file path to the trace log,
    // but only when $GODEBUG contains gofsystrace=1.
    // The traces are appended to the file named by the $GODEBUG setting gofsystracelog, or else standard error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. src/runtime/fds_test.go

    		t.Fatal(err)
    	}
    	outputPath := o.Name()
    	if err := o.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	env := []string{"TEST_OUTPUT=" + outputPath}
    	for _, e := range os.Environ() {
    		if strings.HasPrefix(e, "GODEBUG=") || strings.HasPrefix(e, "GOTRACEBACK=") {
    			continue
    		}
    		env = append(env, e)
    	}
    
    	proc, err := os.StartProcess(fdsBin, []string{fdsBin}, &os.ProcAttr{
    		Env:   env,
    		Files: []*os.File{},
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 25 16:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/cache/hash.go

    package cache
    
    import (
    	"bytes"
    	"crypto/sha256"
    	"fmt"
    	"hash"
    	"io"
    	"os"
    	"runtime"
    	"strings"
    	"sync"
    )
    
    var debugHash = false // set when GODEBUG=gocachehash=1
    
    // HashSize is the number of bytes in a hash.
    const HashSize = 32
    
    // A Hash provides access to the canonical hash function used to index the cache.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 14 16:18:34 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/README

    	GOROOT=<actual GOROOT>
    	TESTGO_GOROOT=<GOROOT used to build cmd/go, for use in tests that may change GOROOT>
    	HOME=/no-home
    	PATH=<actual PATH>
    	TMPDIR=$WORK/tmp
    	GODEBUG=<actual GODEBUG>
    	devnull=<value of os.DevNull>
    	goversion=<current Go version; for example, 1.12>
    
    On Plan 9, the variables $path and $home are set instead of $PATH and $HOME.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/internal/testdir/testdir_test.go

    				goexp += ","
    			}
    			goexp += args[0]
    			runenv = append(runenv, "GOEXPERIMENT="+goexp)
    
    		case "-godebug": // set GODEBUG environment
    			args = args[1:]
    			if godebug != "" {
    				godebug += ","
    			}
    			godebug += args[0]
    			runenv = append(runenv, "GODEBUG="+godebug)
    
    		default:
    			flags = append(flags, args[0])
    		}
    		args = args[1:]
    	}
    	if action == "errorcheck" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  9. src/go/build/deps_test.go

    	< index/suffixarray;
    
    	# executable parsing
    	FMT, encoding/binary, compress/zlib, internal/saferio, internal/zstd, sort
    	< runtime/debug
    	< debug/dwarf
    	< debug/elf, debug/gosym, debug/macho, debug/pe, debug/plan9obj, internal/xcoff
    	< debug/buildinfo
    	< DEBUG;
    
    	# go parser and friends.
    	FMT, sort
    	< internal/gover
    	< go/version
    	< go/token
    	< go/scanner
    	< go/ast
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  10. src/runtime/trace_cgo_test.go

    		"goCalledFromCThread",
    	}
    	logs := make(map[string]*trace.Event)
    	for _, category := range wantLogs {
    		logs[category] = nil
    	}
    	for _, tracefpunwindoff := range []int{1, 0} {
    		env := fmt.Sprintf("GODEBUG=tracefpunwindoff=%d", tracefpunwindoff)
    		got := runBuiltTestProg(t, exe, "Trace", env)
    		prefix, tracePath, found := strings.Cut(got, ":")
    		if !found || prefix != "trace path" {
    			t.Fatalf("unexpected output:\n%s\n", got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top