Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 72 for picard (0.3 sec)

  1. src/vendor/golang.org/x/net/nettest/conntest.go

    		}()
    	}
    }
    
    // testRacyWrite tests that it is safe to mutate the input Write buffer
    // immediately after cancelation has occurred.
    func testRacyWrite(t *testing.T, c1, c2 net.Conn) {
    	go chunkedCopy(io.Discard, c2)
    
    	var wg sync.WaitGroup
    	defer wg.Wait()
    
    	c1.SetWriteDeadline(time.Now().Add(time.Millisecond))
    	for i := 0; i < 10; i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go

    		if k.obj != nil {
    			path, err := encoder.For(k.obj)
    			if err != nil {
    				if debug {
    					log.Printf("discarding fact %s about %s\n", fact, k.obj)
    				}
    				continue // object not accessible from package API; discard fact
    			}
    			object = path
    		}
    		gobFacts = append(gobFacts, gobFact{
    			PkgPath: k.pkg.Path(),
    			Object:  object,
    			Fact:    fact,
    		})
    	}
    	s.mu.Unlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/testing/benchmark.go

    func Benchmark(f func(b *B)) BenchmarkResult {
    	b := &B{
    		common: common{
    			signal: make(chan bool),
    			w:      discard{},
    		},
    		benchFunc: f,
    		benchTime: benchTime,
    	}
    	if b.run1() {
    		b.run()
    	}
    	return b.result
    }
    
    type discard struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. subprojects/build-events/src/main/java/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistry.java

            protected void queue(T message) {
                if (failure.get() == null) {
                    events.add(message);
                }
                // else, the handler thread is no longer handling messages so discard it
            }
    
            @Override
            public void close() {
                events.add(END);
                executor.stop(60, TimeUnit.SECONDS);
                Exception failure = this.failure.get();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:34:01 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    					if other.isDir() {
    						if serverDebugLog {
    							console.Debugln("mergeEntryChannels: discarding directory", other.name, "for object", best.name)
    						}
    						// Discard the directory.
    						if err := selectFrom(otherIdx); err != nil {
    							return err
    						}
    						continue
    					}
    					// Replace directory with object.
    					if serverDebugLog {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultResolutionStrategy.java

        }
    
        @Override
        public void maybeDiscardStateRequiredForGraphResolution() {
            if (!keepStateRequiredForGraphResolution) {
                dependencySubstitutions.discard();
            }
        }
    
        @Override
        public void setMutationValidator(MutationValidator validator) {
            mutationValidator = validator;
            cachePolicy.setMutationValidator(validator);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DefaultGradleDistribution.groovy

            return isSameOrNewer("3.2") && !(isSameOrNewer("4.0") && isSameOrOlder("4.0.2"));
        }
    
        @Override
        boolean isToolingApiHasCauseOnForcedCancel() {
            // Versions before 5.1 would discard context on forced cancel
            return isSameOrNewer("5.1-rc-1");
        }
    
        @Override
        boolean isToolingApiLogsFailureOnCancel() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

     * source is helpful, such as when doing so completes a cache body or frees a socket connection for
     * reuse.
     */
    internal fun Source.discard(
      timeout: Int,
      timeUnit: TimeUnit,
    ): Boolean =
      try {
        this.skipAll(timeout, timeUnit)
      } catch (_: IOException) {
        false
      }
    
    internal fun Socket.peerName(): String {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy

            add(dependency, artifact4)
    
            expect:
            dependency.moduleArtifacts as List == [artifact1, artifact2, artifact3, artifact4, artifact5, artifact6, artifact7]
        }
    
        def "does not discard artifacts with the same name and classifier and extension and type"() {
            ResolvedArtifact artifact1 = artifact("a", null, "jar", "jar")
            ResolvedArtifact artifact2 = artifact("a", null, "jar", "jar")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

          /*)   app_path=\$link ;; #(
          *)    app_path=\$APP_HOME\$link ;;
        esac
    done
    
    # This is normally unused
    # shellcheck disable=SC2034
    APP_BASE_NAME=\${0##*/}
    # Discard cd standard output in case \$CDPATH is set (https://github.com/gradle/gradle/issues/25036)
    APP_HOME=\$( cd -P "\${APP_HOME:-./}${appHomeRelativePath}" > /dev/null && printf '%s\n' "\$PWD" ) || exit
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 13:43:33 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top