Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 440 for waits (0.21 sec)

  1. src/sync/oncefunc_test.go

    				// is not kept alive after the first call to f.
    				t.Fatal("wrapped function should be garbage collected, but still live")
    			}
    			f()
    		})
    	}
    }
    
    // gcwaitfin performs garbage collection and waits for all finalizers to run.
    func gcwaitfin() {
    	runtime.GC()
    	runtime_blockUntilEmptyFinalizerQueue(math.MaxInt64)
    }
    
    //go:linkname runtime_blockUntilEmptyFinalizerQueue runtime.blockUntilEmptyFinalizerQueue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig.go

    	}
    
    	installLog.Infof("Created CNI config %s", cniConfigFilepath)
    	installLog.Debugf("CNI config: %s", pluginConfig)
    	return cniConfigFilepath, nil
    }
    
    // If configured as chained CNI plugin, waits indefinitely for a main CNI config file to exist before returning
    // Or until cancelled by parent context
    func getCNIConfigFilepath(ctx context.Context, cniConfName, mountedCNINetDir string, chained bool) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. pilot/cmd/pilot-agent/options/options.go

    	minimumDrainDurationEnv = env.Register("MINIMUM_DRAIN_DURATION",
    		5*time.Second,
    		"The minimum duration for which agent waits before it checks for active connections and terminates proxy "+
    			"when number of active connections become zero").Get()
    
    	exitOnZeroActiveConnectionsEnv = env.Register("EXIT_ON_ZERO_ACTIVE_CONNECTIONS",
    		false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 19:21:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/proxy/servicechangetracker.go

    	// last Update.
    	UpdatedServices sets.Set[types.NamespacedName]
    
    	// DeletedUDPClusterIPs holds stale (no longer assigned to a Service) Service IPs
    	// that had UDP ports. Callers can use this to abort timeout-waits or clear
    	// connection-tracking information.
    	DeletedUDPClusterIPs sets.Set[string]
    }
    
    // HealthCheckNodePorts returns a map of Service names to HealthCheckNodePort values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. pilot/pkg/model/test/mockopenidserver.go

    		},
    	}
    	wait := 10 * time.Millisecond
    	for try := 0; try < 10; try++ {
    		// Try to call the server
    		res, err := httpClient.Get(fmt.Sprintf("%s/.well-known/openid-configuration", ms.URL))
    		if err != nil {
    			log.Infof("Server not yet serving: %v", err)
    			// Retry after some sleep.
    			wait *= 2
    			time.Sleep(wait)
    			continue
    		}
    		res.Body.Close()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/sigqueue.go

    				}
    			}
    		}
    
    		// Incorporate updates from sender into local copy.
    		for i := range sig.mask {
    			sig.recv[i] = atomic.Xchg(&sig.mask[i], 0)
    		}
    	}
    }
    
    // signalWaitUntilIdle waits until the signal delivery mechanism is idle.
    // This is used to ensure that we do not drop a signal notification due
    // to a race between disabling a signal and receiving a signal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. src/net/rpc/client.go

    		if cap(done) == 0 {
    			log.Panic("rpc: done channel is unbuffered")
    		}
    	}
    	call.Done = done
    	client.send(call)
    	return call
    }
    
    // Call invokes the named function, waits for it to complete, and returns its error status.
    func (client *Client) Call(serviceMethod string, args any, reply any) error {
    	call := <-client.Go(serviceMethod, args, reply, make(chan *Call, 1)).Done
    	return call.Error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. src/net/http/httputil/dump.go

    		reqSend.URL.Scheme = "http"
    	}
    
    	// Use the actual Transport code to record what we would send
    	// on the wire, but not using TCP.  Use a Transport with a
    	// custom dialer that returns a fake net.Conn that waits
    	// for the full input (and recording it), and then responds
    	// with a dummy response.
    	var buf bytes.Buffer // records the output
    	pr, pw := io.Pipe()
    	defer pr.Close()
    	defer pw.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/wait-on-pipe.go

    	time.Sleep(100 * time.Millisecond)
    
    	// Write to the pipe to unblock it.
    	if _, err := syscall.Write(wfd, []byte{10}); err != nil {
    		log.Fatalf("failed to write to pipe: %v", err)
    	}
    
    	// Wait for the goroutine to unblock and start running.
    	// This is helpful to catch incorrect information written
    	// down for the syscall-blocked goroutine, since it'll start
    	// executing, and that execution information will be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. src/os/exec_unix.go

    	}
    
    	// If we can block until Wait4 will succeed immediately, do so.
    	ready, err := p.blockUntilWaitable()
    	if err != nil {
    		return nil, err
    	}
    	if ready {
    		// Mark the process done now, before the call to Wait4,
    		// so that Process.pidSignal will not send a signal.
    		p.pidDeactivate(statusDone)
    		// Acquire a write lock on sigMu to wait for any
    		// active call to the signal method to complete.
    		p.sigMu.Lock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top