Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DELETE (0.16 sec)

  1. src/net/http/h2_bundle.go

    		vv, ok := p.conns[key]
    		if !ok {
    			continue
    		}
    		newList := http2filterOutClientConn(vv, cc)
    		if len(newList) > 0 {
    			p.conns[key] = newList
    		} else {
    			delete(p.conns, key)
    		}
    	}
    	delete(p.keys, cc)
    }
    
    func (p *http2clientConnPool) closeIdleConnections() {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	// TODO: don't close a cc if it was just added to the pool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	// because state.vars has been reset by the preceding state.startBlock.
    	// They only enforce the fact that these variables are no longer need in
    	// the current scope.
    	delete(s.vars, ptrVar)
    	delete(s.vars, lenVar)
    	if !inplace {
    		delete(s.vars, capVar)
    	}
    
    	// make result
    	if inplace {
    		return nil
    	}
    	return s.newValue3(ssa.OpSliceMake, n.Type(), p, l, c)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. doc/go_spec.html

    <p>
    The built-in function <code>delete</code> removes the element with key
    <code>k</code> from a <a href="#Map_types">map</a> <code>m</code>. The
    value <code>k</code> must be <a href="#Assignability">assignable</a>
    to the key type of <code>m</code>.
    </p>
    
    <pre class="grammar">
    delete(m, k)  // remove element m[k] from map m
    </pre>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
Back to top