Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 357 for emit (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          source: Buffer,
          byteCount: Long,
        ) {
          lock.assertNotHeld()
    
          sendBuffer.write(source, byteCount)
          while (sendBuffer.size >= EMIT_BUFFER_SIZE) {
            emitFrame(false)
          }
        }
    
        /**
         * Emit a single data frame to the connection. The frame's size be limited by this stream's
         * write window. This method will block until the write window is nonempty.
         */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  2. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        server.webSocket!!.finishReader()
        server.listener.assertClosed(1000, "Bye!")
      }
    
      @Test
      fun emptyCloseInitiatesShutdown() {
        server.sink.write("8800".decodeHex()).emit() // Close without code.
        client.processNextFrame()
        client.listener.assertClosing(1005, "")
        client.webSocket!!.finishReader()
        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
    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. src/main/webapp/js/clipboard.min.js

    function(){this.selectedText=(0,c.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sat May 28 04:16:16 GMT 2022
    - 10.5K bytes
    - Viewed (2)
  4. src/cmd/api/main_test.go

    	case *types.Const:
    		if w.isDeprecated(obj) {
    			w.emitf("const %s //deprecated", obj.Name())
    		}
    		w.emitf("const %s %s", obj.Name(), w.typeString(obj.Type()))
    		x := obj.Val()
    		short := x.String()
    		exact := x.ExactString()
    		if short == exact {
    			w.emitf("const %s = %s", obj.Name(), short)
    		} else {
    			w.emitf("const %s = %s  // %s", obj.Name(), short, exact)
    		}
    	case *types.Var:
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

          if (currentRunLength > longestRunLength && currentRunLength >= 4) {
            longestRunOffset = currentRunOffset
            longestRunLength = currentRunLength
          }
          i += 2
        }
      }
    
      // Emit each 2-byte group in hex, separated by ':'. The longest run of zeroes is "::".
      val result = Buffer()
      var i = 0
      while (i < address.size) {
        if (i == longestRunOffset) {
          result.writeByte(':'.code)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // resource. This replaces the deprecated `kubernetes.io/ingress.class`
      // annotation. For backwards compatibility, when that annotation is set, it
      // must be given precedence over this field. The controller may emit a
      // warning if the field and annotation have different values.
      // Implementations of this API should ignore Ingresses without a class
      // specified. An IngressClass resource may be marked as default, which can
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. istioctl/pkg/analyze/analyze.go

    				parts := strings.Split(s, "=")
    				if len(parts) != 2 {
    					return fmt.Errorf("%s is not a valid suppression value. See istioctl analyze --help", s)
    				}
    				// Check to see if the supplied code is valid. If not, emit a
    				// warning but continue.
    				codeIsValid := false
    				for _, at := range msg.All() {
    					if at.Code() == parts[0] {
    						codeIsValid = true
    						break
    					}
    				}
    
    				if !codeIsValid {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/InterceptorTest.kt

          }
    
          override fun writeTo(sink: BufferedSink) {
            val uppercase = uppercase(sink)
            val bufferedSink = uppercase.buffer()
            original!!.writeTo(bufferedSink)
            bufferedSink.emit()
          }
        }
      }
    
      private fun uppercase(original: BufferedSink): Sink {
        return object : ForwardingSink(original) {
          override fun write(
            source: Buffer,
            byteCount: Long,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            expectedByteCount = body.contentLength,
            socket = socket,
          ).buffer()
        body.writeTo(responseBodySink)
        responseBodySink.emit()
    
        if ("chunked".equals(response.headers["Transfer-Encoding"], ignoreCase = true)) {
          writeHeaders(sink, response.trailers)
        }
      }
    
      @Throws(IOException::class)
      private fun writeHeaders(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  10. Makefile.core.mk

    endif
    # The old docker issue manifests as not being able to run *any* binary. So we can test
    # by trying to run a trivial program and ensuring it actually ran. If not, emit our warning.
    # Note: we cannot do anything like $(shell docker version) to check, since that would also fail.
    CAN_RUN := $(shell echo "can I run echo")
    ifeq ($(CAN_RUN),)
    $(error $(warning))
    endif
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 19:41:41 GMT 2024
    - 22.5K bytes
    - Viewed (0)
Back to top