Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 296 for defeats (0.39 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                    + " java.lang.NullPointerException]]");
      }
    
      public void testSetIndirectSelf_toString() {
        final SettableFuture<Object> orig = SettableFuture.create();
        // unlike the above this indirection defeats the trivial cycle detection and causes a SOE
        orig.setFuture(
            new ForwardingListenableFuture<Object>() {
              @Override
              protected ListenableFuture<Object> delegate() {
                return orig;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  2. src/compress/flate/deflate.go

    	// certain bytes in the input stream occur more frequently than others.
    	//
    	// Note that HuffmanOnly produces a compressed output that is
    	// RFC 1951 compliant. That is, any valid DEFLATE decompressor will
    	// continue to be able to decompress this output.
    	HuffmanOnly = -2
    )
    
    const (
    	logWindowSize = 15
    	windowSize    = 1 << logWindowSize
    	windowMask    = windowSize - 1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/defers/defers.go

    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/defers",
    	Doc:      analysisutil.MustExtractDoc(doc, "defers"),
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	if !analysisutil.Imports(pass.Pkg, "time") {
    		return nil, nil
    	}
    
    	checkDeferCall := func(node ast.Node) bool {
    		switch v := node.(type) {
    		case *ast.CallExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

          // nowrap (omits zlib header):
          true,
        )
    
      private val deflaterSink = DeflaterSink(deflatedBytes, deflater)
    
      /** Deflates [buffer] in place as described in RFC 7692 section 7.2.1. */
      @Throws(IOException::class)
      fun deflate(buffer: Buffer) {
        require(deflatedBytes.size == 0L)
    
        if (noContextTakeover) {
          deflater.reset()
        }
    
        deflaterSink.write(buffer, buffer.size)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. test/fixedbugs/bug185.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func g() {}
    
    func f1() (a, b int) {
    	a, b = 2, 1
    	g() // defeat optimizer
    	return a, b
    }
    
    func f2() (a, b int) {
    	a, b = 1, 2
    	g() // defeat optimizer
    	return b, a
    }
    
    func main() {
    	x, y := f1()
    	if x != 2 || y != 1 {
    		println("f1", x, y)
    		panic("fail")
    	}
    
    	x, y = f2()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 521 bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/exec.go

    			a = append(a, "-ffile-prefix-map="+workdir+"=/tmp/go-build")
    		} else {
    			a = append(a, "-fdebug-prefix-map="+workdir+"=/tmp/go-build")
    		}
    	}
    
    	// Tell gcc not to include flags in object files, which defeats the
    	// point of -fdebug-prefix-map above.
    	if b.gccSupportsFlag(compiler, "-gno-record-gcc-switches") {
    		a = append(a, "-gno-record-gcc-switches")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

      }
    
      @Test
      fun protocolErrorBeforeCloseSendsFailure() {
        server.sink.write("0a00".decodeHex()).emit() // Invalid non-final ping frame.
        client.processNextFrame() // Detects error, send close, close connection.
        taskFaker.runTasks()
        client.webSocket!!.finishReader()
        assertThat(client.closed).isTrue()
        client.listener.assertFailure(
          ProtocolException::class.java,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketExtensionsTest.kt

      }
    
      @Test
      fun emptyParameters() {
        assertThat(parse("permessage-deflate;"))
          .isEqualTo(WebSocketExtensions(perMessageDeflate = true))
      }
    
      @Test
      fun repeatedPerMessageDeflate() {
        assertThat(parse("permessage-deflate, permessage-deflate; server_no_context_takeover"))
          .isEqualTo(
            WebSocketExtensions(
              perMessageDeflate = true,
              serverNoContextTakeover = true,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt

        assertThat(inflater.inflate(message)).isEqualTo("22021002".decodeHex())
      }
    
      @Test fun `deflate golden value`() {
        val deflater = MessageDeflater(false)
        val deflated = deflater.deflate("Hello deflate!".encodeUtf8())
        assertThat(deflated.hex()).isEqualTo("f248cdc9c95748494dcb492c49550400")
      }
    
      @Test fun `inflate deflate`() {
        val deflater = MessageDeflater(false)
        val inflater = MessageInflater(false)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 06 05:31:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * Sec-WebSocket-Extensions: permessage-deflate; client_no_context_takeover
     * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits="15"
     * Sec-WebSocket-Extensions: permessage-deflate; server_max_window_bits=15
     * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover
     * Sec-WebSocket-Extensions: permessage-deflate; server_no_context_takeover;
     *     client_no_context_takeover
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top