Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Goexit (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		}
    	}
    
    	ctx, cancel := context.WithCancel(testContext)
    
    	lock := sync.Mutex{}
    	called := false
    
    	// We rely on the fact that there is exactly one worker, so it should exit after
    	// getting context canceled error on the first Delete call to etcd.
    	// With multiple workers, each of them would be calling Delete once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    				}},
    				"failed": {Terminated: &v1.ContainerStateTerminated{
    					ExitCode:    1,
    					ContainerID: emptyContainerID,
    				}},
    			},
    			// If the init container is terminated with exit code 0, it won't be restarted even when the
    			// restart policy is RestartAlways.
    			expectedInitState: map[string]v1.ContainerState{
    				"succeed": {Terminated: &v1.ContainerStateTerminated{
    					ExitCode:    0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    	run(t, testTransportMaxPerHostIdleConns, []testMode{http1Mode})
    }
    func testTransportMaxPerHostIdleConns(t *testing.T, mode testMode) {
    	stop := make(chan struct{}) // stop marks the exit of main Test goroutine
    	defer close(stop)
    
    	resch := make(chan string)
    	gotReq := make(chan bool)
    	ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		gotReq <- true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    					}
    				}
    			}
    			s.RUnlock()
    
    			resyncTimer.Reset(resyncTimeInterval)
    		case <-ctx.Done():
    			// server could be restarting - need
    			// to exit immediately
    			return
    		}
    	}
    }
    
    const (
    	resyncWorkerCnt        = 10 // limit of number of bucket resyncs is progress at any given time
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      }
      if (node.IsEnter()) {
        return builder_.create<mlir::tf_executor::EnterOp>(loc, types, operands,
                                                           result.attributes);
      }
      if (node.IsExit()) {
        return builder_.create<mlir::tf_executor::ExitOp>(loc, types, operands,
                                                          result.attributes);
      }
      if (node.IsControlTrigger()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  6. src/database/sql/sql.go

    	// 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
    	lastPut           map[*driverConn]string // stacktrace of last conn's put; debug only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        return failure();
      }
    
      int64_t inputs_rank = -1;
      for (Value value : values) {
        if (auto ty = value.getType().dyn_cast<RankedTensorType>()) {
          // Exit early as input types are verified to be compatible so all ranked
          // tensors have the same rank.
          inputs_rank = ty.getRank();
          break;
        }
      }
      if (inputs_rank == -1) return success();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/exec.go

    	// dependency order traversal.
    	all := actionList(root)
    	for i, a := range all {
    		a.priority = i
    	}
    
    	// Write action graph, without timing information, in case we fail and exit early.
    	writeActionGraph := func() {
    		if file := cfg.DebugActiongraph; file != "" {
    			if strings.HasSuffix(file, ".go") {
    				// Do not overwrite Go source code in:
    				//	go build -debug-actiongraph x.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  9. src/net/http/server.go

    // error returned from closing the [Server]'s underlying Listener(s).
    //
    // When Shutdown is called, [Serve], [ListenAndServe], and
    // [ListenAndServeTLS] immediately return [ErrServerClosed]. Make sure the
    // program doesn't exit and waits instead for Shutdown to return.
    //
    // Shutdown does not attempt to close nor wait for hijacked
    // connections such as WebSockets. The caller of Shutdown should
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top