Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 348 for ns_end (0.21 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/stream.go

    )
    
    // The WebSocket subprotocol "binary.k8s.io" will only send messages to the
    // client and ignore messages sent to the server. The received messages are
    // the exact bytes written to the stream. Zero byte messages are possible.
    const binaryWebSocketProtocol = "binary.k8s.io"
    
    // The WebSocket subprotocol "base64.binary.k8s.io" will only send messages to the
    // client and ignore messages sent to the server. The received messages are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux_s390x.go

    const (
    	// see linux/net.h
    	_SOCKET      = 1
    	_BIND        = 2
    	_CONNECT     = 3
    	_LISTEN      = 4
    	_ACCEPT      = 5
    	_GETSOCKNAME = 6
    	_GETPEERNAME = 7
    	_SOCKETPAIR  = 8
    	_SEND        = 9
    	_RECV        = 10
    	_SENDTO      = 11
    	_RECVFROM    = 12
    	_SHUTDOWN    = 13
    	_SETSOCKOPT  = 14
    	_GETSOCKOPT  = 15
    	_SENDMSG     = 16
    	_RECVMSG     = 17
    	_ACCEPT4     = 18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. test/sieve.go

    // license that can be found in the LICENSE file.
    
    // Test basic concurrency: the classic prime sieve.
    // Do not run - loops forever.
    
    package main
    
    // Send the sequence 2, 3, 4, ... to channel 'ch'.
    func Generate(ch chan<- int) {
    	for i := 2; ; i++ {
    		ch <- i // Send 'i' to channel 'ch'.
    	}
    }
    
    // Copy the values from channel 'in' to channel 'out',
    // removing those divisible by 'prime'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/decorated_watcher.go

    	var recv, send watch.Event
    	var ok bool
    	defer close(d.resultCh)
    	for {
    		select {
    		case recv, ok = <-d.w.ResultChan():
    			if !ok {
    				// The underlying channel was closed, cancel our context
    				d.cancel()
    				return
    			}
    			switch recv.Type {
    			case watch.Added, watch.Modified, watch.Deleted, watch.Bookmark:
    				d.decorator(recv.Object)
    				send = recv
    			case watch.Error:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 02 19:25:31 UTC 2021
    - 2.3K bytes
    - Viewed (1)
  5. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        client.listener.assertFailure(IOException::class.java, "source is closed")
        assertThat(client.webSocket!!.send("Hello!")).isFalse()
      }
    
      @Test
      fun socketClosedDuringMessageKillsWebSocket() {
        client2Server.source.close()
        assertThat(client.webSocket!!.send("Hello!")).isTrue()
        taskFaker.runTasks()
        client.listener.assertFailure(IOException::class.java, "source is closed")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  6. src/syscall/syscall_linux_386.go

    const (
    	// see linux/net.h
    	_SOCKET      = 1
    	_BIND        = 2
    	_CONNECT     = 3
    	_LISTEN      = 4
    	_ACCEPT      = 5
    	_GETSOCKNAME = 6
    	_GETPEERNAME = 7
    	_SOCKETPAIR  = 8
    	_SEND        = 9
    	_RECV        = 10
    	_SENDTO      = 11
    	_RECVFROM    = 12
    	_SHUTDOWN    = 13
    	_SETSOCKOPT  = 14
    	_GETSOCKOPT  = 15
    	_SENDMSG     = 16
    	_RECVMSG     = 17
    	_ACCEPT4     = 18
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. test/chan/sieve1.go

    // This sieve consists of a linear chain of divisibility filters,
    // equivalent to trial-dividing each n by all primes p ≤ n.
    
    package main
    
    // Send the sequence 2, 3, 4, ... to channel 'ch'.
    func Generate(ch chan<- int) {
    	for i := 2; ; i++ {
    		ch <- i // Send 'i' to channel 'ch'.
    	}
    }
    
    // Copy the values from channel 'in' to channel 'out',
    // removing those divisible by 'prime'.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:44:02 UTC 2012
    - 1.5K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprogcgo/gprof_c.c

    extern void GoSleep();
    
    struct cgoContextArg {
    	uintptr_t context;
    };
    
    void gprofCgoContext(void *arg) {
    	((struct cgoContextArg*)arg)->context = 1;
    }
    
    void gprofCgoTraceback(void *arg) {
    	// spend some time here so the P is more likely to be retaken.
    	volatile int i;
    	for (i = 0; i < 123456789; i++);
    }
    
    void CallGoSleep() {
    	GoSleep();
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 11 18:32:21 UTC 2021
    - 700 bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/process/internal/RemoteProcess.java

                throw new RuntimeException(e);
            }
    
            // Send some messages
            TestListenerInterface sender = workerProcessContext.getServerConnection().addOutgoing(TestListenerInterface.class);
            workerProcessContext.getServerConnection().connect();
            sender.send("message 1", 1);
            sender.send("message 2", 2);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 14 01:36:23 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            return send(req, null, params);
        }
    
    
        /**
         * @param request
         * @param response
         * @param params
         * @return response
         * @throws CIFSException
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.9K bytes
    - Viewed (1)
Back to top