Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 171 for DELETE (0.1 sec)

  1. src/time/format_test.go

    	}
    
    	noParens := func(r rune) rune {
    		if r == '(' || r == ')' {
    			return -1
    		}
    		return r
    	}
    
    	for _, marked := range nextStdChunkTests {
    		// marked is an expected output from markChunks.
    		// If we delete the parens and pass it through markChunks,
    		// we should get the original back.
    		format := strings.Map(noParens, marked)
    		out := markChunks(format)
    		if out != marked {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K 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/encoding/xml/marshal.go

    	p.prefixes = append(p.prefixes, prefix)
    
    	return prefix
    }
    
    // deleteAttrPrefix removes an attribute name space prefix.
    func (p *printer) deleteAttrPrefix(prefix string) {
    	delete(p.attrPrefix, p.attrNS[prefix])
    	delete(p.attrNS, prefix)
    }
    
    func (p *printer) markPrefix() {
    	p.prefixes = append(p.prefixes, "")
    }
    
    func (p *printer) popPrefix() {
    	for len(p.prefixes) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  4. src/internal/types/errors/codes.go

    	//
    	// Example:
    	//  var _ = complex(float32(1), float64(2))
    	InvalidComplex
    
    	// InvalidDelete occurs when the delete built-in function is called with a
    	// first argument that is not a map.
    	//
    	// Example:
    	//  func f() {
    	//  	m := "hello"
    	//  	delete(m, "e")
    	//  }
    	InvalidDelete
    
    	// InvalidImag occurs when the imag built-in function is called with an
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. src/syscall/exec_plan9.go

    	procs.Lock()
    	ch := procs.waits[pid]
    	procs.Unlock()
    
    	var wmsg *waitErr
    	if ch != nil {
    		wmsg = <-ch
    		procs.Lock()
    		if procs.waits[pid] == ch {
    			delete(procs.waits, pid)
    		}
    		procs.Unlock()
    	}
    	if wmsg == nil {
    		// ch was missing or ch is closed
    		return NewError("process not found")
    	}
    	if wmsg.err != nil {
    		return wmsg.err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/gc.go

    		canDashC = false
    	case "1":
    		canDashC = true
    	case "":
    		// Not set. Use default.
    	default:
    		log.Fatalf("GO19CONCURRENTCOMPILATION must be 0, 1, or unset, got %q", e)
    	}
    
    	// TODO: Test and delete these conditions.
    	if cfg.ExperimentErr != nil || cfg.Experiment.FieldTrack || cfg.Experiment.PreemptibleLoops {
    		canDashC = false
    	}
    
    	if !canDashC {
    		return 1
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top