Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for defeats (0.19 sec)

  1. test/noinit.go

    }
    
    var (
    	copy_zero     = zero
    	copy_one      = one
    	copy_pi       = pi
    	copy_slice    = slice
    	copy_sliceInt = sliceInt
    	// copy_hello    = hello // static init of copied strings defeats link -X; see #34675
    
    	// Could be handled without an initialization function, but
    	// requires special handling for "a = []byte("..."); b = a"
    	// which is not a likely case.
    	// copy_bytes = bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 17:57:36 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. src/time/sys_unix.go

    // for testing: whatever interrupts a sleep
    func interrupt() {
    	// There is no mechanism in wasi to interrupt the call to poll_oneoff
    	// used to implement runtime.usleep so this function does nothing, which
    	// somewhat defeats the purpose of TestSleep but we are still better off
    	// validating that time elapses when the process calls time.Sleep than
    	// skipping the test altogether.
    	if runtime.GOOS != "wasip1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:10 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_android_projects.adoc

    CI already built this commit -- why should you re-do that work?
    
    === Switching branches
    
    During local development, it is not uncommon to switch branches several times per day.
    This defeats <<incremental_build.adoc#incremental_build,incremental build>> (i.e., `UP-TO-DATE` checks), but this issue is mitigated via use of the local build cache.
    You might run a build on Branch A, which will populate the local cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 12:54:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/dependencies/DependencyLockingProvider.java

         * @param resolutionResult the resolution result information necessary for locking
         * @param changingResolvedModules any modules that are resolved and marked as changing which defeats locking purpose
         */
        void persistResolvedDependencies(String lockId, DisplayName lockOwner, Set<ModuleComponentIdentifier> resolutionResult, Set<ModuleComponentIdentifier> changingResolvedModules);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/os/zero_copy_linux.go

    	// doubt that splice(2) could help non-streams, cuz they usually send small frames respectively
    	// and one splice call would result in one frame.
    	// splice(2) is suitable for large data but the generation of fragments defeats its edge here.
    	// Therefore, don't bother to try splice if the r is not a streaming descriptor.
    	if pfd == nil || !pfd.IsStream {
    		return
    	}
    
    	written, handled, err = pollSplice(&f.pfd, pfd, remain)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top