Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for pri (0.22 sec)

  1. src/log/syslog/syslog_test.go

    			defer sock.Close()
    			l, err := Dial("udp", addr, test.pri, test.pre)
    			if err != nil {
    				t.Fatalf("syslog.Dial() failed: %v", err)
    			}
    			defer l.Close()
    			_, err = io.WriteString(l, test.msg)
    			if err != nil {
    				t.Fatalf("WriteString() failed: %v", err)
    			}
    			rcvd := <-done
    			test.exp = fmt.Sprintf("<%d>", test.pri) + test.exp
    			var parsedHostname, timestamp string
    			var pid int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 12 16:09:24 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. src/net/http/readrequest_test.go

    			ProtoMinor: 1,
    			Close:      true,
    			RequestURI: "/",
    		},
    
    		noBodyStr,
    		noTrailer,
    		noError,
    	},
    
    	// http2 client preface:
    	{
    		"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n",
    		&Request{
    			Method: "PRI",
    			URL: &url.URL{
    				Path: "*",
    			},
    			Header:        Header{},
    			Proto:         "HTTP/2.0",
    			ProtoMajor:    2,
    			ProtoMinor:    0,
    			RequestURI:    "*",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 22:23:32 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import okhttp3.internal.format
    import okio.ByteString.Companion.encodeUtf8
    
    object Http2 {
      @JvmField
      val CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".encodeUtf8()
    
      /** The initial max frame size, applied independently writing to, or reading from the peer. */
      const val INITIAL_MAX_FRAME_SIZE = 0x4000 // 16384
    
      const val TYPE_DATA = 0x0
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/log/syslog/syslog.go

    			return n, nil
    		}
    	}
    	if err := w.connect(); err != nil {
    		return 0, err
    	}
    	return w.write(pr, s)
    }
    
    // write generates and writes a syslog formatted string. The
    // format is as follows: <PRI>TIMESTAMP HOSTNAME TAG[PID]: MSG
    func (w *Writer) write(p Priority, msg string) (int, error) {
    	// ensure it ends in a \n
    	nl := ""
    	if !strings.HasSuffix(msg, "\n") {
    		nl = "\n"
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/conversion.go

    	// Once we have gone through all route computation, we will know how many routes bound to each gateway.
    	// Report this in the status.
    	for _, dm := range gwMap {
    		for _, pri := range dm {
    			if pri.ReportAttachedRoutes != nil {
    				pri.ReportAttachedRoutes()
    			}
    		}
    	}
    	result.AllowedReferences = ctx.AllowedReferences
    	result.ReferencedNamespaceKeys = nsReferences
    	result.ResourceReferences = ctx.resourceReferences
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/debug.go

    	needCloCtx := f.CloSlot != nil
    	pri := f.ABISelf.ABIAnalyzeFuncType(f.Type)
    
    	// Look to see if we have any named register-promoted parameters,
    	// and/or whether we need location info for the ".closureptr"
    	// synthetic variable; if not bail early and let the caller sort
    	// things out for the remainder of the params/locals.
    	numRegParams := 0
    	for _, inp := range pri.InParams() {
    		if isNamedRegParam(inp) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

        Format      regex
        Regex       ^\<(?<pri>[0-9]{1,5})\>1 (?<time>[^ ]+) (?<host>[^ ]+) (?<ident>[^ ]+) (?<pid>[-0-9]+) (?<msgid>[^ ]+) (?<extradata>(\[(.*?)\]|-)) (?<message>.+)$
        Time_Key    time
        Time_Format %Y-%m-%dT%H:%M:%S.%L%z
        Time_Keep   On
    
    [PARSER]
        Name        syslog-rfc3164-local
        Format      regex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  8. src/syscall/syscall_windows.go

    // For example:
    //
    //	_, _, err := syscall.Syscall(...)
    //	if errors.Is(err, fs.ErrNotExist) ...
    type Errno uintptr
    
    func langid(pri, sub uint16) uint32 { return uint32(sub)<<10 | uint32(pri) }
    
    // FormatMessage is deprecated (msgsrc should be uintptr, not uint32, but can
    // not be changed due to the Go 1 compatibility guarantee).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    		xioutil.SafeClose(worker)
    	}
    }
    
    // ResizeWorkerPriority sets replication failed workers pool size
    func (p *ReplicationPool) ResizeWorkerPriority(pri string, maxWorkers int) {
    	var workers, mrfWorkers int
    	p.mu.Lock()
    	switch pri {
    	case "fast":
    		workers = WorkerMaxLimit
    		mrfWorkers = MRFWorkerMaxLimit
    	case "slow":
    		workers = WorkerMinLimit
    		mrfWorkers = MRFWorkerMinLimit
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. src/net/http/serve_test.go

    		{"HTTP/1.0", "Host: \xff\r\n", 400},
    
    		// Make an exception for HTTP upgrade requests:
    		{"PRI * HTTP/2.0", "", 200},
    
    		// Also an exception for CONNECT requests: (Issue 18215)
    		{"CONNECT golang.org:443 HTTP/1.1", "", 200},
    
    		// But not other HTTP/2 stuff:
    		{"PRI / HTTP/2.0", "", 505},
    		{"GET / HTTP/2.0", "", 505},
    		{"GET / HTTP/3.0", "", 505},
    	}
    	for _, tt := range tests {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top