Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,149 for JPoint (0.11 sec)

  1. guava/src/com/google/common/primitives/UnsignedBytes.java

       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      public static int compare(byte a, byte b) {
        return toInt(a) - toInt(b);
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
       * @param array a <i>nonempty</i> array of {@code byte} values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. src/os/types_windows.go

    	// FILE_FLAG_OPEN_REPARSE_POINT flag when opening the file if it is a reparse
    	// point.”
    	//
    	// And per https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew,
    	// “If the file is not a reparse point, then this flag is ignored.”
    	//
    	// So we set FILE_FLAG_OPEN_REPARSE_POINT unconditionally, since we want
    	// information about the reparse point itself.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      public void testToInt() {
        assertThat(UnsignedBytes.toInt((byte) 0)).isEqualTo(0);
        assertThat(UnsignedBytes.toInt((byte) 1)).isEqualTo(1);
        assertThat(UnsignedBytes.toInt((byte) 127)).isEqualTo(127);
        assertThat(UnsignedBytes.toInt((byte) -128)).isEqualTo(128);
        assertThat(UnsignedBytes.toInt((byte) -127)).isEqualTo(129);
        assertThat(UnsignedBytes.toInt((byte) -1)).isEqualTo(255);
      }
    
      public void testCheckedCast() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/apimachinery/pkg/api/resource/generated.proto

    //
    // Examples:
    //
    // - 1.5 will be serialized as "1500m"
    // - 1.5Gi will be serialized as "1536Mi"
    //
    // Note that the quantity will NEVER be internally represented by a
    // floating point number. That is the whole point of this exercise.
    //
    // Non-canonical values will still parse as long as they are well formed,
    // but will be re-emitted in their canonical form. (So always use canonical
    // form, or don't diff.)
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

        override fun readUnsignedByte(): Int = readByte().let {
            require(it >= 0)
            it.toInt()
        }
    
        override fun readByte(): Byte = readContext.readByte()
    
        override fun readUnsignedShort(): Int = readShort().let {
            require(it >= 0)
            it.toInt()
        }
    
        override fun readShort(): Short = readContext.readShort()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/math/unsafe.go

    // with the sign bit of f and the result in the same bit position.
    // Float32bits(Float32frombits(x)) == x.
    func Float32bits(f float32) uint32 { return *(*uint32)(unsafe.Pointer(&f)) }
    
    // Float32frombits returns the floating-point number corresponding
    // to the IEEE 754 binary representation b, with the sign bit of b
    // and the result in the same bit position.
    // Float32frombits(Float32bits(x)) == x.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/runtime/debugcall.go

    			ret = debugCallRuntime
    			return
    		}
    
    		// Check that this isn't an unsafe-point.
    		if pc != f.entry() {
    			pc--
    		}
    		up := pcdatavalue(f, abi.PCDATA_UnsafePoint, pc)
    		if up != abi.UnsafePointSafe {
    			// Not at a safe point.
    			ret = debugCallUnsafePoint
    		}
    	})
    	return ret
    }
    
    // debugCallWrap starts a new goroutine to run a debug call and blocks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/reflect/deepequal.go

    // either because it is of func type (uncomparable in general)
    // or because it is a floating-point NaN value (not equal to itself in floating-point comparison),
    // or because it is an array, struct, or interface containing
    // such a value.
    // On the other hand, pointer values are always equal to themselves,
    // even if they point at or contain such problematic values,
    // because they compare equal using Go's == operator, and that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. doc/go_spec.html

    </p>
    
    <pre>
    [...]Point{{1.5, -3.5}, {0, 0}}     // same as [...]Point{Point{1.5, -3.5}, Point{0, 0}}
    [][]int{{1, 2, 3}, {4, 5}}          // same as [][]int{[]int{1, 2, 3}, []int{4, 5}}
    [][]Point{{{0, 1}, {1, 2}}}         // same as [][]Point{[]Point{Point{0, 1}, Point{1, 2}}}
    map[string]Point{"orig": {0, 0}}    // same as map[string]Point{"orig": Point{0, 0}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  10. src/encoding/gob/doc.go

    	type Point struct {X, Y int}
    and the value
    	p := Point{22, 33}
    the bytes transmitted that encode p will be:
    	1f ff 81 03 01 01 05 50 6f 69 6e 74 01 ff 82 00
    	01 02 01 01 58 01 04 00 01 01 59 01 04 00 00 00
    	07 ff 82 01 2c 01 42 00
    They are determined as follows.
    
    Since this is the first transmission of type Point, the type descriptor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top