Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 130 for DELETE (0.09 sec)

  1. src/internal/trace/gc.go

    			if handleSTW(r) {
    				stw--
    			} else if handleSweep(r) {
    				ps[ev.Proc()].gc--
    			} else if handleMarkAssist(r) {
    				ps[ev.Proc()].gc--
    				if g := r.Scope.Goroutine(); g != NoGoroutine {
    					delete(inGC, g)
    				}
    			}
    		case EventStateTransition:
    			st := ev.StateTransition()
    			if st.Resource.Kind != ResourceGoroutine {
    				break
    			}
    			old, new := st.Goroutine()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/fetch.go

    	}
    
    	// Extract the module zip directory at its final location.
    	//
    	// To prevent other processes from reading the directory if we crash,
    	// create a .partial file before extracting the directory, and delete
    	// the .partial file afterward (all while holding the lock).
    	//
    	// Before Go 1.16, we extracted to a temporary directory with a random name
    	// then renamed it into place with os.Rename. On Windows, this failed with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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