Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for isMnt (0.12 sec)

  1. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/StandaloneSessionBuilderTest.kt

                    type.classId
                )
                // expanded to `actual` `typealias`
                val expandedType = type.fullyExpandedType
                Assertions.assertTrue(expandedType.isInt)
            }
    
            // Test stdlib-common: @JvmInline in the common module
            val actualClass = ktFile.findDescendantOfType<KtClassOrObject>()!!
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. src/log/slog/json_handler.go

    		// but don't work in JSONP, which has to be evaluated as JavaScript,
    		// and can lead to security holes there. It is valid JSON to
    		// escape them, so we do so unconditionally.
    		// See http://timelessrepo.com/json-isnt-a-javascript-subset for discussion.
    		if c == '\u2028' || c == '\u2029' {
    			if start < i {
    				str(s[start:i])
    			}
    			str(`\u202`)
    			char(hex[c&0xF])
    			i += size
    			start = i
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:18:11 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/tasks/InitBuildSpec.groovy

                'some.new.thing',
                'my.package',
                '2rt9.thing',
                'a.class.of.mine',
                'if.twice.then.double',
                'custom.for.stuff',
                'th-is.isnt.legal',
                'nor.is.-.this',
                'nor.is._.this',
            ]
        }
    
        def "should allow unusual but valid package name: #validPackageName"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    		}
    		if b == types.True {
    			return types.True
    		}
    	}
    	if err != nil {
    		return err
    	}
    	return types.False
    }
    
    func (t *unstructuredList) Get(idx ref.Val) ref.Val {
    	iv, isInt := idx.(types.Int)
    	if !isInt {
    		return types.ValOrErr(idx, "unsupported index: %v", idx)
    	}
    	i := int(iv)
    	if i < 0 || i >= len(t.elements) {
    		return types.NewErr("index out of bounds: %v", idx)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  5. src/go/constant/value.go

    	// proceed if f doesn't underflow to 0 or overflow to inf.
    	if x, _ := f.Float64(); f.Sign() == 0 == (x == 0) && !math.IsInf(x, 0) {
    		s := fmt.Sprintf("%.6g", x)
    		if !f.IsInt() && strings.IndexByte(s, '.') < 0 {
    			// f is not an integer, but its string representation
    			// doesn't reflect that. Use more digits. See issue 56220.
    			s = fmt.Sprintf("%g", x)
    		}
    		return s
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  6. src/math/big/float.go

    func (x *Float) Signbit() bool {
    	return x.neg
    }
    
    // IsInf reports whether x is +Inf or -Inf.
    func (x *Float) IsInf() bool {
    	return x.form == inf
    }
    
    // IsInt reports whether x is an integer.
    // ±Inf values are not integers.
    func (x *Float) IsInt() bool {
    	if debugFloat {
    		x.validate()
    	}
    	// special cases
    	if x.form != finite {
    		return x.form == zero
    	}
    	// x.form == finite
    	if x.exp <= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/const.go

    	// (See issue #11371).
    	f := ir.BigFloat(v)
    	if f.MantExp(nil) > 2*ir.ConstPrec {
    		base.Errorf("integer too large")
    	} else {
    		var t big.Float
    		t.Parse(fmt.Sprint(v), 0)
    		if t.IsInt() {
    			base.Errorf("constant truncated to integer")
    		} else {
    			base.Errorf("constant %v truncated to integer", v)
    		}
    	}
    
    	// Prevent follow-on errors.
    	return constant.MakeUnknown()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. src/text/template/exec.go

    	case constant.IsFloat &&
    		!isHexInt(constant.Text) && !isRuneInt(constant.Text) &&
    		strings.ContainsAny(constant.Text, ".eEpP"):
    		return reflect.ValueOf(constant.Float64)
    
    	case constant.IsInt:
    		n := int(constant.Int64)
    		if int64(n) != constant.Int64 {
    			s.errorf("%s overflows int", constant.Text)
    		}
    		return reflect.ValueOf(n)
    
    	case constant.IsUint:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/range.go

    	if v1 == nil && v2 != nil {
    		base.Fatalf("walkRange: v2 != nil while v1 == nil")
    	}
    
    	var body []ir.Node
    	var init []ir.Node
    	switch k := t.Kind(); {
    	default:
    		base.Fatalf("walkRange")
    
    	case types.IsInt[k]:
    		hv1 := typecheck.TempAt(base.Pos, ir.CurFunc, t)
    		hn := typecheck.TempAt(base.Pos, ir.CurFunc, t)
    
    		init = append(init, ir.NewAssignStmt(base.Pos, hv1, nil))
    		init = append(init, ir.NewAssignStmt(base.Pos, hn, a))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  10. src/math/big/float_test.go

    		"0.000000001e+9 int",
    		"1.2345e200 int",
    		"Inf",
    		"+Inf",
    		"-Inf",
    	} {
    		s := strings.TrimSuffix(test, " int")
    		want := s != test
    		if got := makeFloat(s).IsInt(); got != want {
    			t.Errorf("%s.IsInt() == %t", s, got)
    		}
    	}
    }
    
    func fromBinary(s string) int64 {
    	x, err := strconv.ParseInt(s, 2, 64)
    	if err != nil {
    		panic(err)
    	}
    	return x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
Back to top