Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 563 for detect (0.18 sec)

  1. build-logic/binary-compatibility/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
        id("gradlebuild.build-logic.groovy-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin for configuring japicmp-gradle-plugin to detect binary incompatible changes"
    
    dependencies {
        api("me.champeau.gradle:japicmp-gradle-plugin")
    
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
        implementation("com.google.code.gson:gson")
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 905 bytes
    - Viewed (0)
  2. cmd/untar.go

    	gzip "github.com/klauspost/pgzip"
    	"github.com/pierrec/lz4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    	if err != nil {
    		return formatUnknown
    	}
    	for _, f := range magicHeaders {
    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/internal/Finalizer.java

     *
     * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class in its own class
     * loader. That way, this class doesn't prevent the main class loader from getting garbage
     * collected, and this class can detect when the main class loader has been garbage collected and
     * stop itself.
     */
    // no @ElementTypesAreNonNullByDefault for the reasons discussed above
    public class Finalizer implements Runnable {
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

         * log n) on average.
         *
         * <p>The online hash flooding detecting in RegularSetBuilderImpl.add can detect e.g. many
         * exactly matching hash codes, which would cause construction to take O(n^2), but can't detect
         * e.g. hash codes adversarially designed to go into ascending table locations, which keeps
         * construction O(n) (as desired) but then can have O(n) queries later.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  5. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    }
                }
                if (idx < tok.length) {
                    qualifier = tok[idx++];
                    fallback = isDigits(qualifier);
                }
    
                // string tokenizer won't detect these and ignores them
                if (part1.contains("..") || part1.startsWith(".") || part1.endsWith(".")) {
                    fallback = true;
                }
    
                if (fallback) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/extensions.kt

        customGradle(init) {
            useGradleWrapper = true
            if (buildFile == null) {
                buildFile = "" // Let Gradle detect the build script
            }
            skipConditionally(buildType)
        }
    
    fun Requirements.requiresOs(os: Os) {
        contains("teamcity.agent.jvm.os.name", os.agentRequirement)
    }
    
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. cni/pkg/install/install_test.go

    			go func(ctx context.Context, tick <-chan time.Time) {
    				for {
    					select {
    					case <-ctx.Done():
    						return
    					case <-tick:
    						if isReady.Load().(bool) {
    							readyChan <- true
    						}
    					}
    				}
    			}(ctx, ticker.C)
    
    			// Listen to sleepWatchInstall return value
    			// Should detect a valid configuration and wait indefinitely for a file modification
    			errChan := make(chan error)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

     * should use the type safe {@link #putInstance}.
     *
     * <p>Also, if caller suppresses unchecked warnings and passes in an {@code Iterable<String>} for
     * type {@code Iterable<Integer>}, the map won't be able to detect and throw type error.
     *
     * <p>Like any other {@code Map<Class, Object>}, this map may contain entries for primitive types,
     * and a primitive type and its corresponding wrapper type may map to different values.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Apr 22 01:15:23 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

        }
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Apr 24 08:17:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals("2", iterator.next());
        assertEquals("3", iterator.next());
        assertEquals("4", iterator.next());
        assertEquals(4, iterator.nextIndex());
        try {
          iterator.next();
          fail("did not detect end of list");
        } catch (NoSuchElementException expected) {
        }
        assertEquals(3, iterator.previousIndex());
        assertEquals("4", iterator.previous());
        assertEquals("3", iterator.previous());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
Back to top