Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for strerror (0.22 sec)

  1. security/pkg/server/ca/fuzz_test.go

    )
    
    func FuzzCreateCertificate(f *testing.F) {
    	fuzz.Fuzz(f, func(fg fuzz.Helper) {
    		csr := fuzz.Struct[pb.IstioCertificateRequest](fg)
    		ca := fuzz.Struct[mockca.FakeCA](fg)
    		ca.SignErr = caerror.NewError(caerror.CSRError, fmt.Errorf("cannot sign"))
    		server := &Server{
    			ca:             &ca,
    			Authenticators: []security.Authenticator{&mockAuthenticator{}},
    			monitoring:     newMonitoringMetrics(),
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 15 21:32:54 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. src/net/fd_unix.go

    		// non-blocking socket under Unix variants does not
    		// necessarily result in earlier errors being
    		// returned. Instead, once runtime-integrated network
    		// poller tells us that the socket is ready, get the
    		// SO_ERROR socket option to see if the connection
    		// succeeded or failed. See issue 7474 for further
    		// details.
    		if err := fd.pfd.WaitWrite(); err != nil {
    			select {
    			case <-ctxDone:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 20:19:46 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_host_recv_device_context.cc

        return;
      }
      status = stream_->RecordEvent(done_event_.get().get());
      if (!status.ok()) {
        done(status);
        return;
      }
      if (auto st = stream_->BlockHostUntilDone(); !st.ok()) {
        done_event_.SetError(absl::InternalError(absl::StrFormat(
            "failed to synchronize send operation with a stream: %s",
            st.ToString())));
        return;
      }
    
      done_event_.SetStateConcrete();
      done(absl::OkStatus());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. security/pkg/pki/ra/k8s_ra.go

    		}
    		if possibleRootCert == nil {
    			return nil, raerror.NewError(raerror.CSRError, fmt.Errorf("failed to find root cert from either signed cert-chain or mesh config"))
    		}
    		if verifyErr := util.VerifyCertificate(nil, cert, possibleRootCert, nil); verifyErr != nil {
    			return nil, raerror.NewError(raerror.CSRError, fmt.Errorf("root cert from signed cert-chain is invalid (%v)", verifyErr))
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 14:34:38 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. pkg/registry/registrytest/node.go

    		Items: make([]api.Node, len(nodes)),
    	}
    	for i := range nodes {
    		list.Items[i].Name = nodes[i]
    		list.Items[i].Status.Capacity = nodeResources
    	}
    	return &list
    }
    
    func (r *NodeRegistry) SetError(err error) {
    	r.Lock()
    	defer r.Unlock()
    	r.Err = err
    }
    
    func (r *NodeRegistry) ListNodes(ctx context.Context, options *metainternalversion.ListOptions) (*api.NodeList, error) {
    	r.Lock()
    	defer r.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. pkg/registry/registrytest/service.go

    	mu      sync.Mutex
    	List    api.ServiceList
    	Service *api.Service
    	Updates []api.Service
    	Err     error
    
    	DeletedID string
    	GottenID  string
    	UpdatedID string
    }
    
    func (r *ServiceRegistry) SetError(err error) {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    	r.Err = err
    }
    
    func (r *ServiceRegistry) ListServices(ctx context.Context, options *metainternalversion.ListOptions) (*api.ServiceList, error) {
    	r.mu.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 13:43:36 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. src/net/rawconn_unix_test.go

    	case "tcp", "udp", "ip":
    		return errors.New("ambiguous network: " + network)
    	case "unix", "unixpacket", "unixgram":
    		fn = func(s uintptr) {
    			_, operr = syscall.GetsockoptInt(int(s), syscall.SOL_SOCKET, syscall.SO_ERROR)
    		}
    	default:
    		switch network[len(network)-1] {
    		case '4':
    			fn = func(s uintptr) {
    				operr = syscall.SetsockoptInt(int(s), syscall.IPPROTO_IP, syscall.IP_TTL, 1)
    			}
    		case '6':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3K bytes
    - Viewed (0)
  8. src/net/dial_unix_test.go

    		val, err = oldGetsockoptIntFunc(fd, level, opt)
    		t.Logf("getsockoptIntFunc(%d, %d, %d) = (%v, %v)", fd, level, opt, val, err)
    		if level == syscall.SOL_SOCKET && opt == syscall.SO_ERROR && err == nil && val == 0 {
    			t.Logf("canceling context")
    
    			// Cancel the context at just the moment which
    			// caused the race in issue 16523.
    			cancelCtx()
    
    			// And wait for the "interrupter" goroutine to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  9. src/main/assemblies/files/service.bat

    set SERVICE_CMD=%1
    shift
    if "x%1x" == "xx" goto checkServiceCmd
    set SERVICE_ID=%1
    
    :checkServiceCmd
    
    if "%LOG_OPTS%" == "" set LOG_OPTS=--LogPath "%LOG_DIR%" --LogPrefix "%SERVICE_ID%" --StdError auto --StdOutput auto
    
    if /i %SERVICE_CMD% == install goto doInstall
    if /i %SERVICE_CMD% == remove goto doRemove
    if /i %SERVICE_CMD% == start goto doStart
    if /i %SERVICE_CMD% == stop goto doStop
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/logging/TestLoggingContainer.java

         */
        TestLogging getError();
    
        /**
         * Sets logging options for error level.
         *
         * @param logging logging options for error level
         */
        void setError(TestLogging logging);
    
        /**
         * Configures logging options for error level.
         *
         * @param action logging options for error level
         */
        void error(Action<TestLogging> action);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top