Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for greater (0.13 sec)

  1. platforms/ide/tooling-api/src/test/groovy/org/gradle/integtests/tooling/fixture/GradleVersionSpecTest.groovy

     */
    
    package org.gradle.integtests.tooling.fixture
    
    import org.gradle.util.GradleVersion
    import spock.lang.Specification
    
    class GradleVersionSpecTest extends Specification {
        def "greater-than-or-equal version constraint matches all versions with specified base version and later"() {
            def spec = new GradleVersionSpec().toSpec(">=1.0")
    
            expect:
            spec.isSatisfiedBy(GradleVersion.version("1.0"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/string_utils.cc

    #include <cstdlib>
    #include <cstring>
    #include <vector>
    
    #include "absl/status/status.h"
    
    namespace mlir::TFL {
    
    absl::Status MiniDynamicBuffer::AddString(const char* str, size_t len) {
      // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side
      // will overflow to something less than max_length_. After checking `len <=
      // max_length_` we can use this subtraction to check for overflow.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/sync/waitgroup.go

    //
    // Note that calls with a positive delta that occur when the counter is zero
    // must happen before a Wait. Calls with a negative delta, or calls with a
    // positive delta that start when the counter is greater than zero, may happen
    // at any time.
    // Typically this means the calls to Add should execute before the statement
    // creating the goroutine or other event to be waited for.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. maven-embedder/src/main/java/org/apache/maven/cli/transfer/FileSizeFormat.java

            }
            if (size >= 0 && progressedSize > size) {
                throw new IllegalArgumentException(
                        "progressed file size cannot be greater than size: " + progressedSize + " > " + size);
            }
    
            if (size >= 0L && progressedSize != size) {
                ScaleUnit unit = ScaleUnit.getScaleUnit(size);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 21:48:41 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

            this.delegate = requireNonNull(delegate);
            if (queueSize < 1 || batchMaxSize < 1) {
                throw new IllegalArgumentException("Queue and batch sizes must be greater than 1");
            }
            this.batchMaxSize = batchMaxSize;
            this.blockOnLastEvent = blockOnLastEvent;
    
            this.eventQueue = new ArrayBlockingQueue<>(queueSize);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 20:50:56 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Factory.java

    package org.gradle.internal;
    
    import javax.annotation.Nullable;
    
    /**
     * A generic factory which creates instances of type T.
     *
     * @param <T> The type of object created.
     */
    public interface Factory<T> {
        /**
         * Creates a new instance of type T.
         * @return The instance.
         */
        @Nullable
        T create();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 938 bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/BuildTreeConfigurationCache.kt

        /**
         * Loads a cached intermediate model, if available, or else runs the given function to create it and then writes the result to the cache.
         *
         * @param identityPath The project for which the model should be created, or null for a build scoped model.
         */
        fun <T> loadOrCreateIntermediateModel(identityPath: Path?, modelName: String, parameter: ToolingModelParameterCarrier?, creator: () -> T?): T?
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileCollectionIntegrationTest.groovy

            "'files=' + tree.files.name.sort()"                                                             | "files=[]"       | "files=[file1]"
            "'files=' + { def names = new TreeSet(); tree.visit { d -> names.add(d.file.name) }; names }()" | "files=[]"       | "files=[file1]"
            // TODO - should not invalidate the cache when the empty root directory is created
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tests/associations_has_one_test.go

    import (
    	"testing"
    
    	. "gorm.io/gorm/utils/tests"
    )
    
    func TestHasOneAssociation(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheProcessResourcesIntegrationTest.groovy

                    id 'java'
                }
                sourceSets {
                    main.resources.srcDir 'src/main/java'
                    main.resources.exclude '**/*.kt' // Forces an intersection pattern set to be created behind the scenes
                }
            '''
            createDir('src/main') {
                dir('java') {
                    file('Test.java') << 'class Test {}'
                }
                dir('resources') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top