Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for objBase (0.13 sec)

  1. src/runtime/mbitmap.go

    //
    //go:nosplit
    func (span *mspan) typePointersOfUnchecked(addr uintptr) typePointers {
    	const doubleCheck = false
    	if doubleCheck && span.objBase(addr) != addr {
    		print("runtime: addr=", addr, " base=", span.objBase(addr), "\n")
    		throw("typePointersOfUnchecked consisting of non-base-address for object")
    	}
    
    	spc := span.spanclass
    	if spc.noscan() {
    		return typePointers{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. operator/pkg/helmreconciler/prune.go

    	return nil
    }
    
    // RemoveObject removes object with objHash in componentName from the object cache.
    func (h *HelmReconciler) removeFromObjectCache(componentName, objHash string) {
    	crHash, err := h.getCRHash(componentName)
    	if err != nil {
    		scope.Error(err.Error())
    	}
    	cache.RemoveObject(crHash, objHash)
    	scope.Infof("Removed object %s from Cache.", objHash)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  3. cmd/object-api-putobject_test.go

    		2: {
    			bucketName: "$this-is-not-valid-too", objName: "obj", inputData: []byte(""),
    			expectedError: BucketNameInvalid{Bucket: "$this-is-not-valid-too"},
    		},
    		3: {bucketName: "a", objName: "obj", inputData: []byte(""), expectedError: BucketNameInvalid{Bucket: "a"}},
    
    		// Case with invalid object names.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  4. cmd/tier-sweeper.go

    	}
    }
    
    type jentry struct {
    	ObjName   string
    	VersionID string
    	TierName  string
    }
    
    func deleteObjectFromRemoteTier(ctx context.Context, objName, rvID, tierName string) error {
    	w, err := globalTierConfigMgr.getDriver(ctx, tierName)
    	if err != nil {
    		return err
    	}
    	return w.Remove(ctx, objName, remoteVersionID(rvID))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/xl-storage_windows_test.go

    		t.Run(fmt.Sprint(i), func(t *testing.T) {
    			err = fs.AppendFile(context.Background(), "voldir", test.objName, []byte("hello"))
    			if err != nil && test.pass {
    				t.Error(err)
    			} else if err == nil && !test.pass {
    				t.Error(err)
    			}
    			fs.Delete(context.Background(), "voldir", test.objName, DeleteOptions{
    				Recursive: false,
    				Immediate: false,
    			})
    		})
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. operator/pkg/cache/cache.go

    		}
    	}
    	return objectCaches[name]
    }
    
    // RemoveObject removes object with objHash in the Cache with the given name from the object Cache.
    func RemoveObject(name, objHash string) {
    	objectCachesMu.RLock()
    	objectCache := objectCaches[name]
    	objectCachesMu.RUnlock()
    
    	if objectCache != nil {
    		objectCache.Mu.Lock()
    		delete(objectCache.Cache, objHash)
    		objectCache.Mu.Unlock()
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 13:12:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/pv_controller_base.go

    	if unknown, ok := obj.(cache.DeletedFinalStateUnknown); ok && unknown.Obj != nil {
    		obj = unknown.Obj
    	}
    	objName, err := controller.KeyFunc(obj)
    	if err != nil {
    		logger.Error(err, "Failed to get key from object")
    		return
    	}
    	logger.V(5).Info("Enqueued for sync", "objName", objName)
    	queue.Add(objName)
    }
    
    func (ctrl *PersistentVolumeController) storeVolumeUpdate(logger klog.Logger, volume interface{}) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  8. cmd/s3-zip-handlers.go

    	for _, file := range files {
    		objName := zipObjInfo.Name + archiveSeparator + file.Name
    		if objName <= startAfter || objName <= token {
    			continue
    		}
    		if strings.HasPrefix(objName, prefix) {
    			if count == maxKeys {
    				isTruncated = true
    				break
    			}
    			if delimiter != "" {
    				i := strings.Index(objName[len(prefix):], delimiter)
    				if i >= 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. src/go/internal/gcimporter/ureader.go

    		assert(objPkg == nil || objPkg == types.Unsafe)
    		return objPkg, objName
    	}
    
    	// Ignore local types promoted to global scope (#55110).
    	if _, suffix := splitVargenSuffix(objName); suffix != "" {
    		return objPkg, objName
    	}
    
    	if objPkg.Scope().Lookup(objName) == nil {
    		dict := pr.objDictIdx(idx)
    
    		r := pr.newReader(pkgbits.RelocObj, idx, pkgbits.SyncObject1)
    		r.dict = dict
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    	}{
    		// Test case  1-4.
    		// Cases with invalid bucket name.
    		{bucketName: ".test", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: .test")},
    		{bucketName: "------", objName: "obj", PartID: 1, expectedError: fmt.Errorf("%s", "Bucket name invalid: ------")},
    		{
    			bucketName: "$this-is-not-valid-too", objName: "obj", PartID: 1,
    			expectedError: fmt.Errorf("%s", "Bucket name invalid: $this-is-not-valid-too"),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
Back to top