Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 186 for Parses (0.19 sec)

  1. src/cmd/cgo/doc.go

    	const char __cgodebug_str__10[] = s10;
    	const unsigned long long __cgodebug_strlen__10 = sizeof(s10)-1;
    
    and again invokes the system C compiler, to produce an object file
    containing debug information. Cgo parses the DWARF debug information
    for __cgo__N to learn the type of each identifier. (The types also
    distinguish functions from global variables.) Cgo reads the constant
    values from the __cgodebug_* from the object file's data segment.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  2. pkg/kubelet/container/runtime.go

    	return name + "_" + namespace
    }
    
    // ParsePodFullName parsed the pod full name.
    func ParsePodFullName(podFullName string) (string, string, error) {
    	parts := strings.Split(podFullName, "_")
    	if len(parts) != 2 || parts[0] == "" || parts[1] == "" {
    		return "", "", fmt.Errorf("failed to parse the pod full name %q", podFullName)
    	}
    	return parts[0], parts[1], nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/fetch.go

    // A bug caused us to write these into go.sum files for non-modules.
    // We detect and remove them.
    const emptyGoModHash = "h1:G7mAYYxgmS0lVkHyy2hEOLQCFB0DlQFTMLWggykrydY="
    
    // readGoSum parses data, which is the content of file,
    // and adds it to goSum.m. The goSum lock must be held.
    func readGoSum(dst map[module.Version][]string, file string, data []byte) {
    	lineno := 0
    	for len(data) > 0 {
    		var line []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  4. src/encoding/json/decode.go

    package json
    
    import (
    	"encoding"
    	"encoding/base64"
    	"fmt"
    	"reflect"
    	"strconv"
    	"strings"
    	"unicode"
    	"unicode/utf16"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    // Unmarshal parses the JSON-encoded data and stores the result
    // in the value pointed to by v. If v is nil or not a pointer,
    // Unmarshal returns an [InvalidUnmarshalError].
    //
    // Unmarshal uses the inverse of the encodings that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. src/net/http/fs.go

    func (r httpRange) mimeHeader(contentType string, size int64) textproto.MIMEHeader {
    	return textproto.MIMEHeader{
    		"Content-Range": {r.contentRange(size)},
    		"Content-Type":  {contentType},
    	}
    }
    
    // parseRange parses a Range header string as per RFC 7233.
    // errNoOverlap is returned if none of the ranges overlap.
    func parseRange(s string, size int64) ([]httpRange, error) {
    	if s == "" {
    		return nil, nil // header not present
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 17:06:47 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. src/crypto/x509/verify.go

    						}, c.PermittedDNSDomains, c.ExcludedDNSDomains); err != nil {
    						return err
    					}
    
    				case nameTypeURI:
    					name := string(data)
    					uri, err := url.Parse(name)
    					if err != nil {
    						return fmt.Errorf("x509: internal error: URI SAN %q failed to parse", name)
    					}
    
    					if err := c.checkNameConstraints(&comparisonCount, maxConstraintComparisons, "URI", name, uri,
    						func(parsedName, constraint any) (bool, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_client.go

    				tlsmaxrsasize.IncNonDefault()
    			}
    			return max, n <= max
    		}
    	}
    	return defaultMaxRSAKeySize, n <= defaultMaxRSAKeySize
    }
    
    // verifyServerCertificate parses and verifies the provided chain, setting
    // c.verifiedChains and c.peerCertificates or sending the appropriate alert.
    func (c *Conn) verifyServerCertificate(certificates [][]byte) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    				},
    			}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Craft a theoretically valid PAX archive with global headers.
    		// The GNU and BSD tar tools do not parse these the same way.
    		//
    		// BSD tar v3.1.2 parses and ignores all global headers;
    		// the behavior is verified by researching the source code.
    		//
    		//	$ bsdtar -tvf pax-global-records.tar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  9. src/net/http/cookiejar/jar_test.go

    	t := tNow.Add(time.Duration(delta) * time.Second)
    	return "expires=" + t.Format(time.RFC1123)
    }
    
    // mustParseURL parses s to a URL and panics on error.
    func mustParseURL(s string) *url.URL {
    	u, err := url.Parse(s)
    	if err != nil || u.Scheme == "" || u.Host == "" {
    		panic(fmt.Sprintf("Unable to parse URL %s.", s))
    	}
    	return u
    }
    
    // jarTest encapsulates the following actions on a jar:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. src/syscall/syscall_linux.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Linux system calls.
    // This file is compiled as ordinary Go code,
    // but it is also input to mksyscall,
    // which parses the //sys lines and generates system call stubs.
    // Note that sometimes we use a lowercase //sys name and
    // wrap it in our own nicer implementation.
    
    package syscall
    
    import (
    	"internal/itoa"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
Back to top