Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 6,107 for ctan (0.05 sec)

  1. src/database/sql/sql.go

    	// Used to signal the need for new connections
    	// a goroutine running connectionOpener() reads on this chan and
    	// maybeOpenNewConnections sends on the chan (one send per needed connection)
    	// It is closed during db.Close(). The close tells the connectionOpener
    	// goroutine to exit.
    	openerCh          chan struct{}
    	closed            bool
    	dep               map[finalCloser]depSet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * Generators of different types of map and related collections, such as keys, entries and values.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MapGenerators {
      public static class ImmutableMapGenerator extends TestStringMapGenerator {
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/tool/tool.go

    	toolCmd := &exec.Cmd{
    		Path:   toolPath,
    		Args:   args,
    		Stdin:  os.Stdin,
    		Stdout: os.Stdout,
    		Stderr: os.Stderr,
    	}
    	err = toolCmd.Start()
    	if err == nil {
    		c := make(chan os.Signal, 100)
    		signal.Notify(c)
    		go func() {
    			for sig := range c {
    				toolCmd.Process.Signal(sig)
    			}
    		}()
    		err = toolCmd.Wait()
    		signal.Stop(c)
    		close(c)
    	}
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. src/time/tick_test.go

    	done := make(chan bool)
    	AfterFunc(60*Second, func() { close(done) })
    
    	// Set up a queuing goroutine to ping pong through the scheduler.
    	inQ := make(chan func())
    	outQ := make(chan func())
    
    	defer close(inQ)
    
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		defer close(outQ)
    		var q []func()
    		for {
    			var sendTo chan func()
    			var send func()
    			if len(q) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/syntax/testdata/issue20789.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure this doesn't crash the compiler.
    // Line 9 must end in EOF for this test (no newline).
    
    package e
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 326 bytes
    - Viewed (0)
  6. test/stress/runstress.go

    	}
    	Println("did exec")
    }
    
    func stressExec() {
    	gate := make(chan bool, 10) // max execs at once
    	for {
    		gate <- true
    		go func() {
    			doAnExec()
    			<-gate
    		}()
    	}
    }
    
    func ringf(in <-chan int, out chan<- int, donec chan bool) {
    	for {
    		var n int
    		select {
    		case <-donec:
    			return
    		case n = <-in:
    		}
    		if n == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/testprog/stacks.go

    	go func() { // func1
    		select {}
    	}()
    	go func() { // func2
    		var c chan int
    		c <- 0
    	}()
    	go func() { // func3
    		var c chan int
    		<-c
    	}()
    	done1 := make(chan bool)
    	go func() { // func4
    		<-done1
    	}()
    	done2 := make(chan bool)
    	go func() { // func5
    		done2 <- true
    	}()
    	c1 := make(chan int)
    	c2 := make(chan int)
    	go func() { // func6
    		select {
    		case <-c1:
    		case <-c2:
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. internal/grid/README.md

    The handler function has this signature.
    
    Sample handler:
    ```go
        handler :=  func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr {
            fmt.Println("Got request with initial payload", p, "from", GetCaller(ctx context.Context))
            fmt.Println("Subroute:", GetSubroute(ctx))
            for {
                select {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/kube-apiserver/app/testing/testserver.go

    			return result, err
    		}
    		s.Authentication.RequestHeader.ClientCAFile = proxyCACertFile
    
    		// give the kube api server an "identity" it can use to for request header auth
    		// so that aggregated api servers can understand who the calling user is
    		s.Authentication.RequestHeader.AllowedNames = []string{"ash", "misty", "brock"}
    
    		// create private key
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. internal/store/store.go

    type Key struct {
    	Name   string
    	IsLast bool
    }
    
    // replayItems - Reads the items from the store and replays.
    func replayItems[I any](store Store[I], doneCh <-chan struct{}, log logger, id string) <-chan Key {
    	keyCh := make(chan Key)
    
    	go func() {
    		defer xioutil.SafeClose(keyCh)
    
    		retryTicker := time.NewTicker(retryInterval)
    		defer retryTicker.Stop()
    
    		for {
    			names, err := store.List()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 25 16:44:20 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top