Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for Positive (0.29 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtensionFile.kt

        public abstract fun getFilePackageName(): FqName
    
        /**
         * Returns the set of top-level classifier (classes, interfaces, objects, and type-aliases) names in the file.
         *
         * The result may have false-positive entries but cannot have false-negative entries. It should contain all the names in the package but may have some additional names that are not there.
         *
         * @see KaResolveExtensionFile
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/sync/waitgroup.go

    // If the counter becomes zero, all goroutines blocked on [WaitGroup.Wait] are released.
    // If the counter goes negative, Add panics.
    //
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/os/dir_unix.go

    	// Readdir returns all the FileInfo from the directory in a
    	// single slice".
    	//
    	// But below, we use only negative to mean looping until the
    	// end and positive to mean bounded, with positive
    	// terminating at 0.
    	if n == 0 {
    		n = -1
    	}
    
    	for n != 0 {
    		// Refill the buffer if necessary
    		if d.bufp >= d.nbuf {
    			d.bufp = 0
    			var errno error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/build.gradle.kts

    errorprone {
        disabledChecks.addAll(
            "UnusedVariable", // This cannot really be turned off, because of the false positive in errorprone (https://github.com/google/error-prone/issues/4409)
        )
    }
    
    dependencies {
        api(projects.stdlibJavaExtensions)
        api(projects.serialization)
        api(project(":core-api"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/BuildServices.kt

                    property.toPositiveLongOrNull()
                        ?: throw Exception(
                            "Invalid value for system property '$IO_ACTION_TIMEOUT_SYSTEM_PROPERTY': '$property'. It must be a positive number of milliseconds."
                        )
                }
                ?: DEFAULT_IO_ACTION_TIMEOUT
        }
    
        private
        fun String.toPositiveLongOrNull() =
            toLongOrNull()?.takeIf { it > 0 }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/DefaultJavaLanguageVersion.java

            }
        }
    
        public static JavaLanguageVersion of(int version) {
            if (version <= 0) {
                throw new IllegalArgumentException("JavaLanguageVersion must be a positive integer, not " + version);
            }
            if (version >= LOWER_CACHED_VERSION && version <= HIGHER_CACHED_VERSION) {
                return KNOWN_VERSIONS[version - LOWER_CACHED_VERSION];
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. cmd/batch-job-common-types.go

    func (b BatchJobSnowball) Validate() error {
    	if *b.Batch <= 0 {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  "batch number should be non positive zero",
    		}
    	}
    	_, err := humanize.ParseBytes(*b.SmallerThan)
    	if err != nil {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  err.Error(),
    		}
    	}
    	return nil
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/net/interface.go

    )
    
    // Interface represents a mapping between network interface name
    // and index. It also represents network interface facility
    // information.
    type Interface struct {
    	Index        int          // positive integer that starts at one, zero is never used
    	MTU          int          // maximum transmission unit
    	Name         string       // e.g., "en0", "lo0", "eth0.100"
    	HardwareAddr HardwareAddr // IEEE MAC-48, EUI-48 and EUI-64 form
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/time_test.go

    		{name: "invalid cbor type", in: []byte{0x07}, out: Time{}, errMessage: "cbor: cannot unmarshal positive integer into Go value of type string"},                         // 7
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinAnnotationsResolver.kt

    import org.jetbrains.kotlin.psi.KtAnnotated
    import org.jetbrains.kotlin.psi.KtElement
    
    /**
     * A service to match declarations with their annotations and vice versa.
     *
     * N.B. This service can produce both false positives and false negatives from time to time, since it might not be allowed to use
     * full-blown resolve to understand the true FqName of used annotation.
     *
     * The next statement should be `true` for any `annotation`:
     * ```
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top