Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 385 for Parses (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go

    		return fmt.Errorf("kmsv2 Provider %s is not healthy, error: %w", h.name, err)
    	}
    	return nil
    }
    
    // loadConfig parses the encryption configuration file at filepath and returns the parsed config and hash of the file.
    func loadConfig(filepath string, reload bool) (*apiserver.EncryptionConfiguration, string, error) {
    	data, contentHash, err := loadDataAndHash(filepath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  2. cmd/generic-handlers.go

    	"x-amz-date",
    	"date",
    }
    
    // parseAmzDateHeader - parses supported amz date headers, in
    // supported amz date formats.
    func parseAmzDateHeader(req *http.Request) (time.Time, APIErrorCode) {
    	for _, amzDateHeader := range amzDateHeaders {
    		amzDateStr := req.Header.Get(amzDateHeader)
    		if amzDateStr != "" {
    			t, err := amztime.Parse(amzDateStr)
    			if err != nil {
    				return time.Time{}, ErrMalformedDate
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 01:01:15 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  3. pkg/controller/endpointslice/endpointslice_controller.go

    		if endpointSlice.DeletionTimestamp == nil {
    			endpointSlices[n] = endpointSlice
    			n++
    		}
    	}
    	return endpointSlices[:n]
    }
    
    // getEndpointSliceFromDeleteAction parses an EndpointSlice from a delete action.
    func getEndpointSliceFromDeleteAction(obj interface{}) *discovery.EndpointSlice {
    	if endpointSlice, ok := obj.(*discovery.EndpointSlice); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. src/syscall/syscall_aix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Aix 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 (
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. src/net/http/request_test.go

    	"strings"
    	"testing"
    )
    
    func TestQuery(t *testing.T) {
    	req := &Request{Method: "GET"}
    	req.URL, _ = url.Parse("http://www.google.com/search?q=foo&q=bar")
    	if q := req.FormValue("q"); q != "foo" {
    		t.Errorf(`req.FormValue("q") = %q, want "foo"`, q)
    	}
    }
    
    // Issue #25192: Test that ParseForm fails but still parses the form when a URL
    // containing a semicolon is provided.
    func TestParseFormSemicolonSeparator(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. src/go/printer/printer_test.go

    	idempotent
    	allowTypeParams
    )
    
    // format parses src, prints the corresponding AST, verifies the resulting
    // src is syntactically correct, and returns the resulting src or an error
    // if any.
    func format(src []byte, mode checkMode) ([]byte, error) {
    	// parse src
    	f, err := parser.ParseFile(fset, "", src, parser.ParseComments)
    	if err != nil {
    		return nil, fmt.Errorf("parse: %s\n%s", err, src)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    }
    
    // Find the compilation device from system device with `DEVICE_CPU` as its
    // type.
    std::string GetTPUCompilationDevice(ParsedDevice system_device) {
      // TODO(b/110910013) GetTPUSystemDevices parses the spec and returns the
      // TPU_SYSTEM device, which we replace with the CPU device. We do this
      // replacement because we want to place the `tf._TPUCompileMlir` explicitly on
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top