Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for Cooper (0.19 sec)

  1. src/cmd/cgo/doc.go

    confuse the Go garbage collector; they are sometimes not really
    pointers but data structures encoded in a pointer type. All operations
    on these types must happen in C. The proper constant to initialize an
    empty such reference is 0, not nil.
    
    These special cases were introduced in Go 1.10. For auto-updating code
    from Go 1.9 and earlier, use the cftype or jni rewrites in the Go fix tool:
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    			// version of the object.
    			return x.setIdx(i, ventry)
    		case ObjectType:
    			return x.setIdx(i, ventry)
    		case DeleteType:
    			// Allowing delete marker to replaced with proper
    			// object data type as well, this is not S3 complaint
    			// behavior but kept here for future flexibility.
    			return x.setIdx(i, ventry)
    		}
    	}
    
    	// We did not find it, add it.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  3. cni/pkg/plugin/cnieventclient_test.go

    	testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) {
    		res.WriteHeader(http.StatusInternalServerError)
    		res.Write([]byte("server pooped itself"))
    	}))
    	defer func() { testServer.Close() }()
    
    	cniC := fakeCNIEventClient(testServer.URL)
    
    	err := PushCNIEvent(cniC, fakeCmdArgs, []*cniv1.IPConfig{&fakePrevResultIPConfig}, "testpod", "testns")
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. cni/pkg/install/kubeconfig.go

    			},
    		},
    		CurrentContext: contextName,
    	}
    
    	lcfg, err := latest.Scheme.ConvertToVersion(kcfg, latest.ExternalVersion)
    	if err != nil {
    		return kubeconfig{}, err
    	}
    	// Convert to v1 schema which has proper encoding
    	fullYaml, err := yaml.Marshal(lcfg)
    	if err != nil {
    		return kubeconfig{}, err
    	}
    
    	// Log with redaction
    	if err := api.RedactSecrets(kcfg); err != nil {
    		return kubeconfig{}, err
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. internal/mountinfo/mountinfo_linux.go

    	if !filepath.IsAbs(path) {
    		return fmt.Errorf("Invalid argument, path (%s) is expected to be absolute", path)
    	}
    	var crossMounts mountInfos
    	for _, mount := range mts {
    		// Add a separator to indicate that this is a proper mount-point.
    		// This is to avoid a situation where prefix is '/tmp/fsmount'
    		// and mount path is /tmp/fs. In such a scenario we need to check for
    		// `/tmp/fs/` to be a common prefix amount other mounts.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate.go

    	// TODO(Monkeyanator) once we stop using Helm templating remove this.
    	ManifestsPath string
    	// Generate determines whether we should just generate the webhooks without applying. This
    	// applying is not done here, but we are looser with checks when doing generate.
    	Generate bool
    	// Overwrite removes analysis checks around existing webhooks.
    	Overwrite bool
    	// AutoInjectNamespaces controls, if the sidecars should be injected into all namespaces by default.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. src/archive/tar/writer.go

    	}
    	n, err := tw.curr.ReadFrom(r)
    	if err != nil && err != ErrWriteTooLong {
    		tw.err = err
    	}
    	return n, err
    }
    
    // Close closes the tar archive by flushing the padding, and writing the footer.
    // If the current file (from a prior call to [Writer.WriteHeader]) is not fully written,
    // then this returns an error.
    func (tw *Writer) Close() error {
    	if tw.err == ErrWriteAfterClose {
    		return nil
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. cmd/iam-etcd-store.go

    	// a large number of users
    	r, err := ies.client.Get(cctx, basePrefix, etcd.WithPrefix())
    	if err != nil {
    		return err
    	}
    
    	// Parse all users values to create the proper data model
    	for _, userKv := range r.Kvs {
    		if err = ies.getUserKV(ctx, userKv, userType, m, basePrefix); err != nil && err != errNoSuchUser {
    			return err
    		}
    	}
    	return nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. cmd/erasure-metadata.go

    		return 0, 0, nil
    	}
    	partOffset = offset
    	// Seek until object offset maps to a particular part offset.
    	for i, part := range fi.Parts {
    		partIndex = i
    		// Offset is smaller than size we have reached the proper part offset.
    		if partOffset < part.Size {
    			return partIndex, partOffset, nil
    		}
    		// Continue to towards the next part.
    		partOffset -= part.Size
    	}
    	internalLogIf(ctx, InvalidRange{})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  10. cmd/signature-v4-utils_test.go

    		// "X-Amz-Content-Sha256" not set and  PreSigned Signature v4 not enabled, sha256 checksum calculation is not skipped.
    		{"", "", "X-Amz-Credential", "", true},
    
    		// Test case - 8.
    		// "X-Amz-Content-Sha256" has a proper value cannot skip.
    		{"X-Amz-Content-Sha256", "somevalue", "", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    		// Only the headers are relevant for this particular test.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
Back to top