Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for sqDiff (0.15 sec)

  1. src/debug/dwarf/open.go

    		pubnames:    pubnames,
    		ranges:      ranges,
    		str:         str,
    		abbrevCache: make(map[uint64]abbrevTable),
    		typeCache:   make(map[Offset]Type),
    		typeSigs:    make(map[uint64]*typeUnit),
    	}
    
    	// Sniff .debug_info to figure out byte order.
    	// 32-bit DWARF: 4 byte length, 2 byte version.
    	// 64-bit DWARf: 4 bytes of 0xff, 8 byte length, 2 byte version.
    	if len(d.info) < 6 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/net/http/sniff_test.go

    		} else if !bytes.Equal(data, tt.data) {
    			t.Errorf("%v: data is %q, want %q", tt.desc, data, tt.data)
    		}
    		resp.Body.Close()
    	}
    }
    
    // Issue 5953: shouldn't sniff if the handler set a Content-Type header,
    // even if it's the empty string.
    func TestServerIssue5953(t *testing.T) { run(t, testServerIssue5953) }
    func testServerIssue5953(t *testing.T, mode testMode) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 07 16:53:14 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    			// not get all the errors we expected.
    			completed = true
    
    		case "not-declared":
    			sniff[i] |= notDeclared
    		case "not-type":
    			sniff[i] |= notType
    		case "not-int-const":
    			sniff[i] |= notIntConst
    		case "not-num-const":
    			sniff[i] |= notNumConst
    		case "not-str-lit":
    			sniff[i] |= notStrLiteral
    		default:
    			if isError {
    				sawUnmatchedErrors = true
    			}
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    		header := w.Header()
    		header.Set("X-XSS-Protection", "1; mode=block")                                // Prevents against XSS attacks
    		header.Set("X-Content-Type-Options", "nosniff")                                // Prevent mime-sniff
    		header.Set("Strict-Transport-Security", "max-age=31536000; includeSubDomains") // HSTS mitigates variants of MITM attacks
    
    		// Previously, this value was set right before a response was sent to
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    ce|nl|nohup|notify-send|npm|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|uni...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_waypoint.go

    			httpName := name + "-http"
    			httpChain := &listener.FilterChain{
    				Filters: lb.buildWaypointInboundHTTPFilters(svc, cc),
    				Name:    httpName,
    			}
    			if port.Protocol.IsUnsupported() {
    				// If we need to sniff, insert two chains and the protocol detector
    				chains = append(chains, tcpChain, httpChain)
    				portMapper.Map[portString] = match.ToMatcher(match.NewAppProtocol(match.ProtocolMatch{
    					TCP:  match.ToChain(tcpName),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    			contentEncoding: "application/zlib",
    			wantContentType: "",
    			body: func() []byte {
    				buf := new(bytes.Buffer)
    				zw := zlib.NewWriter(buf)
    				zw.Write([]byte("doctype html><p>Hello</p>"))
    				zw.Close()
    				return buf.Bytes()
    			}(),
    		},
    		{
    			name:            "no content-encoding", // must sniff.
    			wantContentType: "application/x-gzip",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. src/net/http/transfer.go

    	}
    	n, err := strconv.ParseUint(cl, 10, 63)
    	if err != nil {
    		return 0, badStringError("bad Content-Length", cl)
    	}
    	return int64(n), nil
    }
    
    // finishAsyncByteRead finishes reading the 1-byte sniff
    // from the ContentLength==0, Body!=nil case.
    type finishAsyncByteRead struct {
    	tw *transferWriter
    }
    
    func (fr finishAsyncByteRead) Read(p []byte) (n int, err error) {
    	if len(p) == 0 {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. src/net/http/fs.go

    	if done {
    		return
    	}
    
    	code := StatusOK
    
    	// If Content-Type isn't set, use the file's extension to find it, but
    	// if the Content-Type is unset explicitly, do not sniff the type.
    	ctypes, haveType := w.Header()["Content-Type"]
    	var ctype string
    	if !haveType {
    		ctype = mime.TypeByExtension(filepath.Ext(name))
    		if ctype == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  10. src/net/http/clientserver_test.go

    	cst.tr.ExpectContinueTimeout = 10 * time.Second
    
    	req, err := NewRequest("POST", cst.ts.URL, testErrorReader{t})
    	if err != nil {
    		t.Fatal(err)
    	}
    	req.ContentLength = 0 // so transport is tempted to sniff it
    	req.Header.Set("Expect", "100-continue")
    	res, err := cst.tr.RoundTrip(req)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer res.Body.Close()
    	if res.StatusCode != StatusUnauthorized {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
Back to top