Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for IsBoolean (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          assertTrue(desc, isGuarded(method));
          assertTrue(desc, isBoolean(method));
        } else if (isTryEnter(method)) {
          assertFalse(desc, isTimed(method));
          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/basic.go

    type BasicInfo int
    
    // Properties of basic types.
    const (
    	IsBoolean BasicInfo = 1 << iota
    	IsInteger
    	IsUnsigned
    	IsFloat
    	IsComplex
    	IsString
    	IsUntyped
    
    	IsOrdered   = IsInteger | IsFloat | IsString
    	IsNumeric   = IsInteger | IsFloat | IsComplex
    	IsConstType = IsBoolean | IsNumeric | IsString
    )
    
    // A Basic represents a basic type.
    type Basic struct {
    	kind BasicKind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. src/go/types/basic.go

    type BasicInfo int
    
    // Properties of basic types.
    const (
    	IsBoolean BasicInfo = 1 << iota
    	IsInteger
    	IsUnsigned
    	IsFloat
    	IsComplex
    	IsString
    	IsUntyped
    
    	IsOrdered   = IsInteger | IsFloat | IsString
    	IsNumeric   = IsInteger | IsFloat | IsComplex
    	IsConstType = IsBoolean | IsNumeric | IsString
    )
    
    // A Basic represents a basic type.
    type Basic struct {
    	kind BasicKind
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          assertTrue(desc, isGuarded(method));
          assertTrue(desc, isBoolean(method));
        } else if (isTryEnter(method)) {
          assertFalse(desc, isTimed(method));
          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/testFixtures/groovy/org/gradle/ide/xcode/fixtures/WorkspaceSettingsFile.groovy

        }
    
        boolean isAutoCreateContextsIfNeeded() {
            def value = plist.get(AUTO_CREATE_CONTEXTS_IF_NEEDED_KEY)
            if (value == null || !(value instanceof NSNumber) || !value.isBoolean()) {
                return true
            }
    
            return ((NSNumber)value).boolValue()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/const.go

    	if l.Type() == nil || r.Type() == nil {
    		return l, r
    	}
    
    	if !l.Type().IsInterface() && !r.Type().IsInterface() {
    		// Can't mix bool with non-bool, string with non-string.
    		if l.Type().IsBoolean() != r.Type().IsBoolean() {
    			return l, r
    		}
    		if l.Type().IsString() != r.Type().IsString() {
    			return l, r
    		}
    	}
    
    	if !l.Type().IsUntyped() {
    		r = convlit(r, l.Type())
    		return l, r
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            else method.parameterTypes.last().name
    
        val isBoolean =
            primitiveTypeStrings[propertyJavaType] == Boolean::class.simpleName
    
        val propertyNames =
            if (hasIsGetterName) listOf(method.name)
            else {
                val prefixRemoved = method.name.drop(3)
                if (hasSetterName && isBoolean) listOf("is$prefixRemoved", prefixRemoved.decapitalize())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 20:38:19 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

        public val KaType.isChar: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.CHAR) }
        public val KaType.isBoolean: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.BOOLEAN) }
        public val KaType.isString: Boolean get() = withValidityAssertion { isClassTypeWithClassId(DefaultTypeClassIds.STRING) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    // Use Universe.Lookup("byte").Type() to obtain the specific
    // alias basic type named "byte" (and analogous for "rune").
    var Typ = [...]*Basic{
    	Invalid: {Invalid, 0, "invalid type"},
    
    	Bool:          {Bool, IsBoolean, "bool"},
    	Int:           {Int, IsInteger, "int"},
    	Int8:          {Int8, IsInteger, "int8"},
    	Int16:         {Int16, IsInteger, "int16"},
    	Int32:         {Int32, IsInteger, "int32"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    // Use Universe.Lookup("byte").Type() to obtain the specific
    // alias basic type named "byte" (and analogous for "rune").
    var Typ = []*Basic{
    	Invalid: {Invalid, 0, "invalid type"},
    
    	Bool:          {Bool, IsBoolean, "bool"},
    	Int:           {Int, IsInteger, "int"},
    	Int8:          {Int8, IsInteger, "int8"},
    	Int16:         {Int16, IsInteger, "int16"},
    	Int32:         {Int32, IsInteger, "int32"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top