Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for pipe (0.19 sec)

  1. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

        source2!!.close()
        assertThat(relay.isClosed).isTrue()
        assertFile(Relay.PREFIX_DIRTY, -1L, -1, null, null)
      }
    
      @Test
      fun racingReaders() {
        val pipe = Pipe(1024)
        val sink = pipe.sink.buffer()
        val relay = edit(file, pipe.source, metadata, 5)
        val future1 = executor.submit(sourceReader(relay.newSource()))
        val future2 = executor.submit(sourceReader(relay.newSource()))
        Thread.sleep(500)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

      // zero effect on the behavior of the WebSocket API which is why tests are only written once
      // from the perspective of a single peer.
      private val random = Random(0)
      private val client2Server = Pipe(8192L)
      private val server2client = Pipe(8192L)
      private val taskFaker = TaskFaker()
      private val client = TestStreams(true, taskFaker, server2client, client2Server)
      private val server = TestStreams(false, taskFaker, client2Server, server2client)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  3. docs/bucket/versioning/versioning-tests.sh

    ./mc mb sitea/delissue --insecure
    
    ./mc version enable sitea/delissue --insecure
    
    echo hello | ./mc pipe sitea/delissue/hello --insecure
    
    ./mc version suspend sitea/delissue --insecure
    
    ./mc rm sitea/delissue/hello --insecure
    
    ./mc version enable sitea/delissue --insecure
    
    echo hello | ./mc pipe sitea/delissue/hello --insecure
    
    ./mc version suspend sitea/delissue --insecure
    
    Shell Script
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 09:50:52 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  4. .cm/includes_todos.cm

                :warning: 'There are new TODOs present in this change.  Should any be removed?'
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    # This section could also appear ahead of the automations section.
    
    colors:
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. .cm/complex_changes.cm

          - action: set-required-approvals@v1
            args:
              approvals: 2
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    # This section could also appear ahead of the automations section.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. .cm/estimated_time_to_review.cm

    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    # This section could also appear ahead of the automations section.
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. .cm/lacks_tests.cm

    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    # This section could also appear ahead of the automations section.
    
    colors:
      yellow: 'ffb300'
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. .cm/platform_labels.cm

              color: '0000FF'
      {% endfor %}
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    
    # TODO: It would be very nice to avoid having this list somehow, but it needs to be defined in YAML and not in JS for the looping template to work
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Mon Apr 22 15:32:31 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. .cm/misc_labels.cm

            args:
              label: 'build-script-change'
              color: 'E94637'
    
    # To simplify the automations section, some calculations are placed under unique YAML keys defined here.
    # Read the "|" not as "or", but as a "pipe", taking the output of the previous command and passing it to the next command.
    
    # The results of these calculations are assigned to `is.formatting`, `is.docs` and `is.tests`.
    is:
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 13:42:16 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. cmd/metacache-set.go

    	askDisks := len(disks)
    	readers := make([]*metacacheReader, askDisks)
    	defer func() {
    		for _, r := range readers {
    			r.Close()
    		}
    	}()
    	for i := range disks {
    		r, w := io.Pipe()
    		// Make sure we close the pipe so blocked writes doesn't stay around.
    		defer r.CloseWithError(context.Canceled)
    
    		readers[i] = newMetacacheReader(r)
    		d := disks[i]
    
    		// Send request to each disk.
    		go func() {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 04:42:11 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top