Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 566 for Closest (0.13 sec)

  1. security/pkg/nodeagent/sds/server.go

    	if s.workloadSds == nil {
    		return
    	}
    
    	sdsServiceLog.Debugf("Trigger on secret update, resource name: %s", resourceName)
    	s.workloadSds.push(resourceName)
    }
    
    // Stop closes the gRPC server and debug server.
    func (s *Server) Stop() {
    	if s == nil {
    		return
    	}
    	s.stopped.Store(true)
    	if s.grpcWorkloadServer != nil {
    		s.grpcWorkloadServer.Stop()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 17:44:41 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/outbuf.go

    			return err
    		}
    	}
    	if err := out.f.Close(); err != nil {
    		return err
    	}
    	out.f = nil
    	return nil
    }
    
    // ErrorClose closes the output file (if any).
    // It is supposed to be called only at exit on error, so it doesn't do
    // any clean up or buffer flushing, just closes the file.
    func (out *OutBuf) ErrorClose() {
    	if out.isView {
    		panic(viewCloseError)
    	}
    	if out.f == nil {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. src/cmd/go/terminal_test.go

    	cmd := testenv.Command(t, testGo, "test", "-run=^$")
    	cmd.Env = append(cmd.Environ(), "GO_TEST_TERMINAL_PASSTHROUGH=1")
    	cmd.Stdout = w
    	cmd.Stderr = w
    
    	// The behavior of reading from a PTY after the child closes it is very
    	// strange: on Linux, Read returns EIO, and on at least some versions of
    	// macOS, unread output may be discarded (see https://go.dev/issue/57141).
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 07 18:18:50 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_download_concurrent_read.txt

    	cmd.Env = append(os.Environ(), "GOPATH="+gopath)
    	return cmd.Run()
    }
    
    // readCache repeatedly globs for go.mod files in the given cache, then opens
    // those files for reading. When the done chan is closed, readCache closes
    // files and returns.
    func readCache(gopath string, done <-chan struct{}) {
    	files := make(map[string]*os.File)
    	defer func() {
    		for _, f := range files {
    			f.Close()
    		}
    	}()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. src/internal/fuzz/sys_posix.go

    	if err != nil {
    		return nil, err
    	}
    
    	return &sharedMem{f: f, region: region, removeOnClose: removeOnClose}, nil
    }
    
    // Close unmaps the shared memory and closes the temporary file. If this
    // sharedMem was created with sharedMemTempFile, Close also removes the file.
    func (m *sharedMem) Close() error {
    	// Attempt all operations, even if we get an error for an earlier operation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 12 19:47:40 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  6. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/BuildInvocationsBuilderTest.groovy

            grandChild2OfChild | ['t4']                   | ['t4',]       | []                 | []
        }
    
        def "TaskSelector description is taken from task that TaskNameComparator considers to be of lowest ordering"() {
            given:
            def builder = new BuildInvocationsBuilder(new DefaultProjectTaskLister())
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. src/net/textproto/textproto.go

    func NewConn(conn io.ReadWriteCloser) *Conn {
    	return &Conn{
    		Reader: Reader{R: bufio.NewReader(conn)},
    		Writer: Writer{W: bufio.NewWriter(conn)},
    		conn:   conn,
    	}
    }
    
    // Close closes the connection.
    func (c *Conn) Close() error {
    	return c.conn.Close()
    }
    
    // Dial connects to the given address on the given network using [net.Dial]
    // and then returns a new [Conn] for the connection.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. pkg/scheduler/profile/profile.go

    	}
    	return m, nil
    }
    
    // HandlesSchedulerName returns whether a profile handles the given scheduler name.
    func (m Map) HandlesSchedulerName(name string) bool {
    	_, ok := m[name]
    	return ok
    }
    
    // Close closes all frameworks registered in this map.
    func (m Map) Close() error {
    	var errs []error
    	for name, f := range m {
    		err := f.Close()
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 06 01:11:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/streaming/streaming.go

    type Decoder interface {
    	// Decode will return io.EOF when no more objects are available.
    	Decode(defaults *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error)
    	// Close closes the underlying stream.
    	Close() error
    }
    
    // Serializer is a factory for creating encoders and decoders that work over streams.
    type Serializer interface {
    	NewEncoder(w io.Writer) Encoder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 25 14:51:36 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            this.b = b;
            this.off = off;
            dataLength = len;
            digest = null; /* otherwise recycled commands
                            * like writeandx will choke if session
                            * closes in between */
        }
        int getBatchLimit( byte command ) {
            if( command == SMB_COM_READ_ANDX ) {
                return READ_ANDX_BATCH_LIMIT;
            }
            if( command == SMB_COM_CLOSE ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.3K bytes
    - Viewed (0)
Back to top