Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for important (0.19 sec)

  1. cni/pkg/plugin/plugin_cni_conformance.go

    // limitations under the License.
    
    package plugin
    
    import (
    	"testing"
    
    	"github.com/containernetworking/cni/pkg/types"
    )
    
    // Validate k8sArgs struct works for unmarshalling kubelet args
    // This is important for CNI plugin conformance
    func TestLoadArgs(t *testing.T) {
    	kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
    		"K8S_POD_NAME=istio-sidecar-injector-8489cf78fb-48pvg;" +
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. cmd/warm-backend-s3.go

    		if err := gopts.SetRange(opts.startOffset, opts.startOffset+opts.length-1); err != nil {
    			return nil, s3.ToObjectError(err, object)
    		}
    	}
    	c := &minio.Core{Client: s3.client}
    	// Important to use core primitives here to pass range get options as is.
    	r, _, _, err := c.GetObject(ctx, s3.Bucket, s3.getDest(object), gopts)
    	if err != nil {
    		return nil, s3.ToObjectError(err, object)
    	}
    	return r, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    holding the C pointers and use runtime.SetFinalizer on those Go objects.
    
    It is much more difficult for the C world to have pointers into the Go
    world, because the Go garbage collector is unaware of the memory
    allocated by C.  The most important consideration is not to
    constrain future implementations, so the rule is that Go code can
    hand a Go pointer to C code but must separately arrange for
    Go to hang on to a reference to the pointer until C is done with it.
    */
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    	if canonical, ok := w.importMap[fromDir][fromPath]; ok {
    		name = canonical
    	}
    
    	pkg := w.imported[name]
    	if pkg != nil {
    		if pkg == &importing {
    			log.Fatalf("cycle importing package %q", name)
    		}
    		return pkg, nil
    	}
    	w.imported[name] = &importing
    
    	// Determine package files.
    	dir := w.importDir[name]
    	if dir == "" {
    		dir = filepath.Join(w.root, filepath.FromSlash(name))
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    }
    
    // Simple tests of bucket lifecycle: PUT, GET, DELETE.
    // Tests are related and the order is important.
    func testBucketLifecycleHandlers(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	creds auth.Credentials, t *testing.T,
    ) {
    	// test cases with sample input and expected output.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    // If no more entries are in the listing io.EOF is returned,
    // otherwise nil or an unexpected error is returned.
    // The listPathOptions given will be checked and modified internally.
    // Required important fields are Bucket, Prefix, Separator.
    // Other important fields are Limit, Marker.
    // List ID always derived from the Marker.
    func (z *erasureServerPools) listPath(ctx context.Context, o *listPathOptions) (entries metaCacheEntriesSorted, err error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest_shared_test.go

    }
    
    // applyWithReconciler applies the given manifest string using the given reconciler.
    func applyWithReconciler(reconciler *helmreconciler.HelmReconciler, manifest string) error {
    	m := name.Manifest{
    		// Name is not important here, only Content will be applied.
    		Name:    name.IstioOperatorComponentName,
    		Content: manifest,
    	}
    	_, err := reconciler.ApplyManifest(m)
    	return err
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    				Name:     "dir/empty/",
    				Content:  []byte{},
    				Modified: time.Date(2011, 12, 8, 10, 8, 6, 0, time.UTC),
    				Mode:     fs.ModeDir | 0777,
    			},
    			{
    				Name:     "readonly",
    				Content:  []byte("important \r\n"),
    				Modified: time.Date(2011, 12, 8, 10, 6, 8, 0, time.UTC),
    				Mode:     0444,
    			},
    		},
    	},
    	{
    		// created by Zip 3.0 under Linux
    		Name: "unix.zip",
    		File: []ZipTestFile{
    			{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    it is not problematic for the link step to require gcc too.
    
    An important exception is builds using a pre-compiled copy of the
    standard library. In particular, package net uses cgo on most systems,
    and we want to preserve the ability to compile pure Go code that
    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)
  10. cmd/signature-v4-parser.go

    	// Verify if region is valid.
    	sRegion := cred.scope.region
    	// Region is set to be empty, we use whatever was sent by the
    	// request and proceed further. This is a work-around to address
    	// an important problem for ListBuckets() getting signed with
    	// different regions.
    	if region == "" {
    		region = sRegion
    	}
    	// Should validate region, only if region is set.
    	if !isValidRegion(sRegion, region) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top