Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for uintValue (0.32 sec)

  1. src/flag/flag.go

    // -- uint Value
    type uintValue uint
    
    func newUintValue(val uint, p *uint) *uintValue {
    	*p = val
    	return (*uintValue)(p)
    }
    
    func (i *uintValue) Set(s string) error {
    	v, err := strconv.ParseUint(s, 0, strconv.IntSize)
    	if err != nil {
    		err = numError(err)
    	}
    	*i = uintValue(v)
    	return err
    }
    
    func (i *uintValue) Get() any { return uint(*i) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  2. src/database/sql/convert_test.go

    			errf("want RawBytes %q, got %q", ct.wantraw, scanraw)
    		}
    		if ct.wantint != 0 && ct.wantint != intValue(ct.d) {
    			errf("want int %d, got %d", ct.wantint, intValue(ct.d))
    		}
    		if ct.wantuint != 0 && ct.wantuint != uintValue(ct.d) {
    			errf("want uint %d, got %d", ct.wantuint, uintValue(ct.d))
    		}
    		if ct.wantf32 != 0 && ct.wantf32 != float32Value(ct.d) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            is IntValue -> KaConstantValue.KaIntConstantValue(value, sourcePsi = null)
            is LongValue -> KaConstantValue.KaLongConstantValue(value, sourcePsi = null)
            is ShortValue -> KaConstantValue.KaShortConstantValue(value, sourcePsi = null)
            is UByteValue -> KaConstantValue.KaUnsignedByteConstantValue(value.toUByte(), sourcePsi = null)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

      }
    
      public void testIntValue() {
        for (int a : TEST_INTS) {
          UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
          int intValue = aUnsigned.bigIntegerValue().intValue();
          assertThat(aUnsigned.intValue()).isEqualTo(intValue);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // serialization
      public void testSerialization() {
        for (int a : TEST_INTS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

      }
    
      public void testIntValue() {
        for (int a : TEST_INTS) {
          UnsignedInteger aUnsigned = UnsignedInteger.fromIntBits(a);
          int intValue = aUnsigned.bigIntegerValue().intValue();
          assertThat(aUnsigned.intValue()).isEqualTo(intValue);
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // serialization
      public void testSerialization() {
        for (int a : TEST_INTS) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy

        def "converts Set<PosixFilePermission to int representation"() {
    
            expect:
            PosixFilePermissionConverter.convertToInt(perms) == intValue
    
            where:
            perms                                                                |       intValue
            EnumSet.noneOf(PosixFilePermission)                                  |       0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        EquivalenceTester.of(Equivalence.equals().onResultOf(Functions.toStringFunction()))
            .addEquivalenceGroup(new IntValue(1), new IntValue(1))
            .addEquivalenceGroup(new IntValue(2))
            .test();
      }
    
      public void testOnResultOf_equals() {
        new EqualsTester()
            .addEqualityGroup(
                Equivalence.identity().onResultOf(Functions.toStringFunction()),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map, 42);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(42, function.apply("Two").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
        new EqualsTester()
            .addEqualityGroup(function, Functions.forMap(map, 42))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

    import okhttp3.internal.http2.Http2
    import okhttp3.internal.platform.android.AndroidLog.androidLog
    
    private val LogRecord.androidLevel: Int
      get() =
        when {
          level.intValue() > Level.INFO.intValue() -> Log.WARN
          level.intValue() == Level.INFO.intValue() -> Log.INFO
          else -> Log.DEBUG
        }
    
    object AndroidLogHandler : Handler() {
      override fun publish(record: LogRecord) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top