Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 702 for Avery (0.04 sec)

  1. platforms/documentation/docs/src/snippets/swift/basic/kotlin/build.gradle.kts

        // Define a preprocessor macro for every binary
        macros.add("NDEBUG")
    
        // Define a compiler options
        compilerArgs.add("-O")
    }
    // end::swift-compiler-options-all-variants[]
    
    // tag::swift-compiler-options-per-variants[]
    application {
        binaries.configureEach(SwiftStaticLibrary::class.java) {
            // Define a preprocessor macro for every binary
            compileTask.get().macros.add("NDEBUG")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  2. src/sync/oncefunc.go

    package sync
    
    // OnceFunc returns a function that invokes f only once. The returned function
    // may be called concurrently.
    //
    // If f panics, the returned function will panic with the same value on every call.
    func OnceFunc(f func()) func() {
    	var (
    		once  Once
    		valid bool
    		p     any
    	)
    	// Construct the inner closure just once to reduce costs on the fast path.
    	g := func() {
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/cpp/basic/kotlin/build.gradle.kts

        }
    }
    // end::cpp-dependency-mgmt[]
    
    // tag::cpp-compiler-options-all-variants[]
    tasks.withType(CppCompile::class.java).configureEach {
        // Define a preprocessor macro for every binary
        macros.put("NDEBUG", null)
    
        // Define a compiler options
        compilerArgs.add("-W3")
    
        // Define toolchain-specific compiler options
        compilerArgs.addAll(toolChain.map { toolChain ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/prebuilt/groovy/3rd-party-lib/boost_1_55_0/boost/version.hpp

    #ifndef BOOST_VERSION_HPP
    #define BOOST_VERSION_HPP
    
    //
    //  Caution, this is the only boost header that is guaranteed
    //  to change with every boost release, including this header
    //  will cause a recompile every time a new boost version is
    //  released.
    //
    //  BOOST_VERSION % 100 is the patch level
    //  BOOST_VERSION / 100 % 1000 is the minor version
    //  BOOST_VERSION / 100000 is the major version
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CleanupFrequency.java

    import java.time.Duration;
    import java.time.Instant;
    
    /**
     * Represents when cache cleanup should be triggered.
     *
     * @since 8.0
     */
    public interface CleanupFrequency {
        /**
         * Trigger cleanup once every 24 hours.
         */
        CleanupFrequency DAILY = new CleanupFrequency() {
            @Override
            public boolean requiresCleanup(@Nullable Instant lastCleanupTime) {
                if (lastCleanupTime == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_andor_test.go

    		if r := (uint32(1) << (i + 1)) - 1; x != r || v != old {
    			t.Fatalf("setting bit %#x: want %#x, got new %#x and old %#v", uint32(1<<i), r, x, v)
    		}
    	}
    
    	// Start with every bit in array set to 0.
    	a := make([]uint32, 1<<12)
    
    	// Set every bit in array bit-by-bit in different goroutines.
    	done := make(chan bool)
    	for i := 0; i < 32; i++ {
    		m := uint32(1 << i)
    		go func() {
    			for i := range a {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 27 20:49:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

          for (PerListenerQueue<L> queue : listeners) {
            queue.add(event, label);
          }
        }
      }
    
      /**
       * Dispatches all events enqueued prior to this call, serially and in order, for every listener.
       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
        // iterate by index to avoid concurrent modification exceptions
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. src/cmd/go/chdir_test.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"cmd/go/internal/base"
    	"os"
    	"strings"
    	"testing"
    )
    
    func TestChdir(t *testing.T) {
    	// We want -C to apply to every go subcommand.
    	// Test that every command either has a -C flag registered
    	// or has CustomFlags set. In the latter case, the command
    	// must be explicitly tested in TestScript/chdir.
    	script, err := os.ReadFile("testdata/script/chdir.txt")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/atmostevery.go

    package internal
    
    import (
    	"sync"
    	"time"
    )
    
    // AtMostEvery will never run the method more than once every specified
    // duration.
    type AtMostEvery struct {
    	delay    time.Duration
    	lastCall time.Time
    	mutex    sync.Mutex
    }
    
    // NewAtMostEvery creates a new AtMostEvery, that will run the method at
    // most every given duration.
    func NewAtMostEvery(delay time.Duration) *AtMostEvery {
    	return &AtMostEvery{
    		delay: delay,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/InvalidJvmInstallationReportingIntegrationTest.groovy

                    .withTasks(":sub1:exec", ":sub2:exec")
                    .run()
            }
    
            then: "invalid JVM installation warning should be printed in every build"
            results.size() == 2
            results.every { result ->
                def expectedErrorMessages = [invalidJdkHome1, invalidJdkHome2].collect {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top