Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Sait (0.05 sec)

  1. src/cmd/go/script_test.go

    			gracePeriod = gp
    		}
    
    		// When we run commands that execute subprocesses, we want to reserve two
    		// grace periods to clean up. We will send the first termination signal when
    		// the context expires, then wait one grace period for the process to
    		// produce whatever useful output it can (such as a stack trace). After the
    		// first grace period expires, we'll escalate to os.Kill, leaving the second
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    	}
    
    	n.SetTypecheck(2)
    	n = typecheck1(n, top)
    	n.SetTypecheck(1)
    
    	t := n.Type()
    	if t != nil && !t.IsFuncArgStruct() && n.Op() != ir.OTYPE {
    		switch t.Kind() {
    		case types.TFUNC, // might have TANY; wait until it's called
    			types.TANY, types.TFORW, types.TIDEAL, types.TNIL, types.TBLANK:
    			break
    
    		default:
    			types.CheckSize(t)
    		}
    	}
    
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/script/cmds.go

    		})
    }
    
    // Wait waits for the completion of background commands.
    //
    // When Wait returns, the stdout and stderr buffers contain the concatenation of
    // the background commands' respective outputs in the order in which those
    // commands were started.
    func Wait() Cmd {
    	return Command(
    		CmdUsage{
    			Summary: "wait for completion of background commands",
    			Args:    "",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser_test.go

    	}
    
    	if *fast {
    		var wg sync.WaitGroup
    		wg.Add(len(files))
    		for _, filename := range files {
    			go func(filename string) {
    				defer wg.Done()
    				action(filename)
    			}(filename)
    		}
    		wg.Wait()
    	} else {
    		for _, filename := range files {
    			action(filename)
    		}
    	}
    
    	for _, dir := range dirs {
    		walkDirs(t, dir, action)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/stdlib_test.go

    		go func() {
    			defer func() {
    				wg.Done()
    				<-cpulimit
    			}()
    
    			_, err := c.getDirPackage(dir)
    			if err != nil {
    				t.Errorf("error checking %s: %v", dir, err)
    			}
    		}()
    	}
    
    	wg.Wait()
    
    	if testing.Verbose() {
    		fmt.Println(len(dirFiles), "packages typechecked in", time.Since(start))
    	}
    }
    
    // stdlibChecker implements concurrent type-checking of the packages defined by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top