Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 187 for DELETE (0.13 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/header.html

      </div>
    </div>
    
    <div class="dialog" id="delete-dialog">
      <div class="dialog-header" id="delete-dialog-title">Delete config</div>
      <div id="delete-prompt"></div>
      <div class="dialog-footer">
        <span class="dialog-error" id="delete-error"></span>
        <button id="delete-cancel">Cancel</button>
        <button id="delete-confirm">Delete</button>
      </div>
    </div>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/sync/map_reference_test.go

    	m.mu.Lock()
    	value, loaded = m.dirty[key]
    	if !loaded {
    		m.mu.Unlock()
    		return nil, false
    	}
    	delete(m.dirty, key)
    	m.mu.Unlock()
    	return value, loaded
    }
    
    func (m *RWMutexMap) Delete(key any) {
    	m.mu.Lock()
    	delete(m.dirty, key)
    	m.mu.Unlock()
    }
    
    func (m *RWMutexMap) CompareAndSwap(key, old, new any) (swapped bool) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. test/typeparam/builtins.go

    func f4[T C5[X], X any](ch T) {
    	close(ch)
    }
    
    // delete
    
    type M0 interface{ int }
    type M1 interface{ map[string]int }
    type M2 interface {
    	map[string]int | map[string]float64
    }
    type M3 interface{ map[string]int | map[rune]int }
    type M4[K comparable, V any] interface{ map[K]V | map[rune]V }
    
    func g1[T M1](m T) {
    	delete(m, "foo")
    }
    
    func g2[T M2](m T) {
    	delete(m, "foo")
    }
    
    func g3[T M4[rune, V], V any](m T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/internal/concurrent/hashtriemap.go

    			if n == nil {
    				// Valid node that doesn't contain what we need. Nothing to delete.
    				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. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

      const saveDialog = elem('save-dialog');
      const saveInput = elem('save-name');
      const saveError = elem('save-error');
      const delDialog = elem('delete-dialog');
      const delPrompt = elem('delete-prompt');
      const delError = elem('delete-error');
    
      let currentDialog = null;
      let currentDeleteTarget = null;
    
      function showDialog(dialog) {
        if (currentDialog != null) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. src/net/http/cookiejar/jar_test.go

    		"a=w b=xx c=y d=zz",
    		[]query{{"http://www.host.test", "a=w b=xx c=y d=zz"}},
    	},
    	{
    		"Delete all.",
    		"http://www.host.test/",
    		[]string{
    			"a=1; max-Age=-1",                    // delete via MaxAge
    			"b=2; " + expiresIn(-10),             // delete via Expires
    			"c=2; max-age=-1; " + expiresIn(-10), // delete via both
    			"d=4; max-age=-1; " + expiresIn(10)}, // MaxAge takes precedence
    		"",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 34K bytes
    - Viewed (0)
  7. src/sync/map_test.go

    	case opLoadOrStore:
    		return m.LoadOrStore(c.k, c.v)
    	case opLoadAndDelete:
    		return m.LoadAndDelete(c.k)
    	case opDelete:
    		m.Delete(c.k)
    		return nil, false
    	case opSwap:
    		return m.Swap(c.k, c.v)
    	case opCompareAndSwap:
    		if m.CompareAndSwap(c.k, c.v, rand.Int()) {
    			m.Delete(c.k)
    			return c.v, true
    		}
    		return nil, false
    	case opCompareAndDelete:
    		if m.CompareAndDelete(c.k, c.v) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. src/slices/slices.go

    	return s
    }
    
    // Delete removes the elements s[i:j] from s, returning the modified slice.
    // Delete panics if j > len(s) or s[i:j] is not a valid slice of s.
    // Delete is O(len(s)-i), so if many items must be deleted, it is better to
    // make a single call deleting them all together than to delete one at a time.
    // Delete zeroes the elements s[len(s)-(j-i):len(s)].
    func Delete[S ~[]E, E any](s S, i, j int) S {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/expvar/expvar.go

    	if iv, ok := i.(*Float); ok {
    		iv.Add(delta)
    	}
    }
    
    // Delete deletes the given key from the map.
    func (v *Map) Delete(key string) {
    	v.keysMu.Lock()
    	defer v.keysMu.Unlock()
    	i, found := slices.BinarySearch(v.keys, key)
    	if found {
    		v.keys = slices.Delete(v.keys, i, i+1)
    		v.m.Delete(key)
    	}
    }
    
    // Do calls f for each entry in the map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. 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)
Back to top