Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,079 for delete1 (0.12 sec)

  1. src/internal/types/testdata/check/builtins0.go

    	copy(f3()) // ERROR "too many arguments"
    }
    
    func delete1() {
    	var m map[string]int
    	var s string
    	delete() // ERROR "not enough arguments"
    	delete(1) // ERROR "not enough arguments"
    	delete(1, 2, 3) // ERROR "too many arguments"
    	delete(m, 0 /* ERROR "cannot use" */)
    	delete(m, s)
    	_ = delete /* ERROR "used as value" */ (m, s)
    
    	var t []map[string]string
    	delete(t... /* ERROR "invalid use of ..." */ )
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. docs/bucket/replication/delete-replication.sh

    aws configure set aws_secret_access_key minioadmin --profile minioadmin
    aws configure set default.region us-east-1 --profile minioadmin
    
    aws s3api --endpoint-url http://localhost:9001 --profile minioadmin delete-object --bucket testbucket --key dir/file --version-id "$versionId"
    
    ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
    ./mc ls -r --versions myminio2/testbucket >/tmp/myminio2.txt
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pkg/controller/volume/persistentvolume/delete_test.go

    			expectedEvents:  noevents,
    			errors:          noerrors,
    			// Inject deleter into the controller and call syncVolume. The
    			// deleter simulates one delete() call that succeeds.
    			test: wrapTestWithReclaimCalls(operationDelete, []error{nil}, testSyncVolume),
    		},
    		{
    			// PV requires external deleter
    			name:            "8-10-1 - external deleter when volume is dynamic provisioning",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/internal/concurrent/hashtriemap.go

    				i.mu.Unlock()
    				return
    			}
    			if n.isEntry {
    				// What we saw is still true, so we can continue with the delete.
    				break
    			}
    		}
    		// We have to start over.
    		i.mu.Unlock()
    	}
    	// Try to delete the entry.
    	e, deleted := n.entry().compareAndDelete(key, old, ht.keyEqual, ht.valEqual)
    	if !deleted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. pilot/pkg/xds/deltatest.go

    	sotwRes model.Resources,
    	deltaRes model.Resources,
    	deleted model.DeletedResources,
    	usedDelta bool,
    	delta model.ResourceDelta,
    	incremental bool,
    ) {
    	current := con.proxy.GetWatchedResource(w.TypeUrl).LastResources
    	if current == nil {
    		log.Debugf("ADS:%s: resources initialized", v3.GetShortType(w.TypeUrl))
    		return
    	}
    	if deltaRes == nil && deleted == nil && len(sotwRes) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. pkg/controller/replicaset/replica_set.go

    	if curPod.DeletionTimestamp != nil {
    		// when a pod is deleted gracefully it's deletion timestamp is first modified to reflect a grace period,
    		// and after such time has passed, the kubelet actually deletes it from the store. We receive an update
    		// for modification of the deletion timestamp and expect an rs to create more replicas asap, not wait
    		// until the kubelet actually deletes the pod. This is different from the Phase of a pod changing, because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  7. pkg/controller/volume/persistentvolume/pv_controller.go

    	deleter, err := plugin.NewDeleter(logger, spec)
    	if err != nil {
    		// Cannot create deleter
    		return pluginName, false, fmt.Errorf("failed to create deleter for volume %q: %w", volume.Name, err)
    	}
    
    	opComplete := util.OperationCompleteHook(pluginName, "volume_delete")
    	err = deleter.Delete()
    	opComplete(volumetypes.CompleteFuncParam{Err: &err})
    	if err != nil {
    		// Deleter failed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  8. src/sync/map.go

    		if !ok && read.amended {
    			e, ok = m.dirty[key]
    			delete(m.dirty, key)
    			// Regardless of whether the entry was present, record a miss: this key
    			// will take the slow path until the dirty map is promoted to the read
    			// map.
    			m.missLocked()
    		}
    		m.mu.Unlock()
    	}
    	if ok {
    		return e.delete()
    	}
    	return nil, false
    }
    
    // Delete deletes the value for a key.
    func (m *Map) Delete(key any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. pkg/kube/namespace/filter.go

    		DeleteFunc: func(ns *corev1.Namespace) {
    			f.lock.Lock()
    			defer f.lock.Unlock()
    			// No need to notify handlers for deletes. The namespace was deleted, so the object will be as well (and a delete could not de-select).
    			// Note that specifically for the edge case of a Namespace watcher that is filtering, this will ignore deletes we should
    			// otherwise send.
    			// See kclient.applyDynamicFilter for rationale.
    			f.namespaceDeletedLocked(ns.ObjectMeta)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 17:12:52 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/pod.go

    			}
    		}
    	}
    	return pmap
    }
    
    // deleteIP returns true if the pod and ip are really deleted.
    func (pc *PodCache) deleteIP(ip string, podKey types.NamespacedName) bool {
    	pc.Lock()
    	defer pc.Unlock()
    	if pc.podsByIP[ip].Contains(podKey) {
    		sets.DeleteCleanupLast(pc.podsByIP, ip, podKey)
    		delete(pc.IPByPods, podKey)
    		return true
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top