Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 125 for DELETE (0.12 sec)

  1. src/go/types/check.go

    	alias.typ = Typ[Invalid]
    }
    
    // validAlias records that alias has the valid type typ (possibly Typ[Invalid]).
    func (check *Checker) validAlias(alias *TypeName, typ Type) {
    	assert(!check.conf._EnableAlias)
    	delete(check.brokenAliases, alias)
    	alias.typ = typ
    }
    
    // isBrokenAlias reports whether alias doesn't have a determined type yet.
    func (check *Checker) isBrokenAlias(alias *TypeName) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_client.go

    			// the session ticket. See RFC 5077, Section 3.2.
    			//
    			// RFC 8446 makes no mention of dropping tickets on failure, but it
    			// does require servers to abort on invalid binders, so we need to
    			// delete tickets to recover from a corrupted PSK.
    			if err != nil {
    				if cacheKey := c.clientSessionCacheKey(); cacheKey != "" {
    					c.config.ClientSessionCache.Put(cacheKey, nil)
    				}
    			}
    		}()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/decl.go

    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    		return
    	}
    	delete(check.methods, obj)
    	assert(!check.objMap[obj].tdecl.Alias) // don't use TypeName.IsAlias (requires fully set up object)
    
    	// use an objset to check for name conflicts
    	var mset objset
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/go/internal/work/action.go

    	}
    
    	return b
    }
    
    var builderWorkDirs sync.Map // *Builder → WorkDir
    
    func (b *Builder) Close() error {
    	wd, ok := builderWorkDirs.Load(b)
    	if !ok {
    		return nil
    	}
    	defer builderWorkDirs.Delete(b)
    
    	if b.WorkDir != wd.(string) {
    		base.Errorf("go: internal error: Builder WorkDir unexpectedly changed from %s to %s", wd, b.WorkDir)
    	}
    
    	if !cfg.BuildWork {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    				Name:       "file2",
    				PAXRecords: map[string]string{"path": "file2"},
    			}, nil},
    			testHeader{Header{
    				Typeflag:   TypeXGlobalHeader,
    				PAXRecords: map[string]string{"path": ""}, // Should delete "path", but keep "mtime"
    			}, nil},
    			testHeader{Header{
    				Typeflag: TypeReg, Name: "file3",
    			}, nil},
    			testHeader{Header{
    				Typeflag:   TypeReg,
    				Name:       "file4",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  7. src/crypto/tls/common.go

    func (c *lruSessionCache) Put(sessionKey string, cs *ClientSessionState) {
    	c.Lock()
    	defer c.Unlock()
    
    	if elem, ok := c.m[sessionKey]; ok {
    		if cs == nil {
    			c.q.Remove(elem)
    			delete(c.m, sessionKey)
    		} else {
    			entry := elem.Value.(*lruSessionCacheEntry)
    			entry.state = cs
    			c.q.MoveToFront(elem)
    		}
    		return
    	}
    
    	if c.q.Len() < c.capacity {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  8. src/net/url/url.go

    // values associated with key.
    func (v Values) Add(key, value string) {
    	v[key] = append(v[key], value)
    }
    
    // Del deletes the values associated with key.
    func (v Values) Del(key string) {
    	delete(v, key)
    }
    
    // Has checks whether a given key is set.
    func (v Values) Has(key string) bool {
    	_, ok := v[key]
    	return ok
    }
    
    // ParseQuery parses the URL-encoded query string and returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  9. src/go/types/decl.go

    	// Checker.resolveBaseTypeName ensures that obj is not an alias name
    	// if it has attached methods.)
    	methods := check.methods[obj]
    	if methods == nil {
    		return
    	}
    	delete(check.methods, obj)
    	assert(!check.objMap[obj].tdecl.Assign.IsValid()) // don't use TypeName.IsAlias (requires fully set up object)
    
    	// use an objset to check for name conflicts
    	var mset objset
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof.go

    }
    
    // Remove removes the execution stack associated with value from the profile.
    // It is a no-op if the value is not in the profile.
    func (p *Profile) Remove(value any) {
    	p.mu.Lock()
    	defer p.mu.Unlock()
    	delete(p.m, value)
    }
    
    // WriteTo writes a pprof-formatted snapshot of the profile to w.
    // If a write to w returns an error, WriteTo returns that error.
    // Otherwise, WriteTo returns nil.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top