Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 133 for exit_a (0.16 sec)

  1. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    	defaultTimeouts.KubernetesAPICall = &metav1.Duration{Duration: apiCallRetryInterval}
    
    	exitVal := m.Run()
    
    	// Restore the default interval and timeouts
    	apiCallRetryInterval = defaultRetryInterval
    	defaultTimeouts.KubernetesAPICall = defaultAPICallTimeout
    
    	os.Exit(exitVal)
    }
    
    func TestCreateOrUpdateConfigMap(t *testing.T) {
    	tests := []struct {
    		name          string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. pkg/kubelet/pleg/evented.go

    		if sandboxStatus.State == runtimeapi.PodSandboxState_SANDBOX_READY {
    			return status.IPs
    		}
    	}
    
    	// For pods with no ready containers or sandboxes (like exited pods)
    	// use the old status' pod IP
    	return oldStatus.IPs
    }
    
    func (e *EventedPLEG) sendPodLifecycleEvent(event *PodLifecycleEvent) {
    	select {
    	case e.eventChannel <- event:
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 10:46:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. pkg/kubelet/container/runtime.go

    	Status(ctx context.Context) (*RuntimeStatus, error)
    	// GetPods returns a list of containers grouped by pods. The boolean parameter
    	// specifies whether the runtime returns all containers including those already
    	// exited and dead containers (used for garbage collection).
    	GetPods(ctx context.Context, all bool) ([]*Pod, error)
    	// GarbageCollect removes dead containers using the specified container gc policy
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. pkg/util/iptables/iptables.go

    	}
    	if err == nil {
    		return true, nil
    	}
    	if ee, ok := err.(utilexec.ExitError); ok {
    		// iptables uses exit(1) to indicate a failure of the operation,
    		// as compared to a malformed commandline, for example.
    		if ee.Exited() && ee.ExitStatus() == 1 {
    			return false, nil
    		}
    	}
    	return false, fmt.Errorf("error checking rule: %v: %s", err, out)
    }
    
    const (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  5. src/go/doc/testdata/testing.go

    	//
    	// This previous version duplicated code (those lines are in
    	// tRunner no matter what), but worse the goroutine teardown
    	// implicit in runtime.Goexit was not guaranteed to complete
    	// before the test exited. If a test deferred an important cleanup
    	// function (like removing temporary files), there was no guarantee
    	// it would run on a test failure. Because we send on c.signal during
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/cache/prog.go

    			if c.closing.Load() {
    				return // quietly
    			}
    			if err == io.EOF {
    				c.mu.Lock()
    				inFlight := len(c.inFlight)
    				c.mu.Unlock()
    				base.Fatalf("GOCACHEPROG exited pre-Close with %v pending requests", inFlight)
    			}
    			base.Fatalf("error reading JSON from GOCACHEPROG: %v", err)
    		}
    		c.mu.Lock()
    		ch, ok := c.inFlight[res.ID]
    		delete(c.inFlight, res.ID)
    		c.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  7. src/runtime/os_freebsd.go

    	}
    
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    	printlock     int8
    	incgo         bool          // m is executing a cgo call
    	isextra       bool          // m is an extra m
    	isExtraInC    bool          // m is an extra m that is not executing Go code
    	isExtraInSig  bool          // m is an extra m in a signal handler
    	freeWait      atomic.Uint32 // Whether it is safe to free g0 and delete m (one of freeMRef, freeMStack, freeMWait)
    	needextram    bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

        if (!tsl::protobuf::TextFormat::ParseFromString(tf_opdefs_string, &opdef)) {
          LOG(ERROR) << "OpDef parsing failed for: " << tf_opdefs_string;
          return absl::InvalidArgumentError("fail to parse extra OpDef");
        }
        // Register extra opdefs.
        // TODO: b/133770952 - Support shape functions.
        OpRegistry::Global()->Register(
            [opdef](OpRegistrationData* op_reg_data) -> absl::Status {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. src/net/mockserver_test.go

    		f.Close()
    		cmdCh <- err
    	}()
    
    	return func(tb testing.TB) {
    		err := <-cmdCh
    		if err != nil {
    			tb.Errorf("process exited with error: %v", err)
    		}
    	}, nil
    }
    
    func init() {
    	if os.Getenv("GO_NET_TEST_TRANSFER") == "" {
    		return
    	}
    	defer os.Exit(0)
    
    	f := os.NewFile(uintptr(3), "splice-test-conn")
    	defer f.Close()
    
    	conn, err := FileConn(f)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top