Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for thebyte (0.11 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isByte -> KaConstantValue.KaByteConstantValue((value as Number).toByte(), expression)
                type.isUByte -> KaConstantValue.KaUnsignedByteConstantValue((value as Number).toByte().toUByte(), expression)
                type.isShort -> KaConstantValue.KaShortConstantValue((value as Number).toShort(), expression)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                ConstantValueKind.Short -> (value as Number).toShort()
                ConstantValueKind.UnsignedByte -> (value as Number).toLong().toUByte()
                ConstantValueKind.UnsignedShort -> (value as Number).toLong().toUShort()
                ConstantValueKind.UnsignedInt -> (value as Number).toLong().toUInt()
                ConstantValueKind.UnsignedLong -> (value as Number).toLong().toULong()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/src/commonTest/kotlin/samples/Base64Test.kt

            assertEquals(expectedOutput, Base64Factory.createEncoder().encodeToString(input.asciiToByteArray()))
        }
    
        private fun String.asciiToByteArray() = ByteArray(length) {
            get(it).code.toByte()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 07:33:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt

            when (readByte()) {
                1.toByte() -> ValueSupplier.ExecutionTimeValue.missing<Any>()
                2.toByte() -> ValueSupplier.ExecutionTimeValue.ofNullable(read()) // nullable because serialization may replace value with null, e.g. when using provider of Task
                3.toByte() -> {
                    val value = read()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

        }
    
        override fun write(buf: ByteArray, off: Int, len: Int) = record {
            outputStream.write(buf, off, len)
        }
    
        override fun writeByte(`val`: Int) = record {
            writeByte(`val`.toByte())
        }
    
        override fun writeChar(`val`: Int) = record {
            writeInt(`val`)
        }
    
        override fun writeBoolean(`val`: Boolean) = record {
            writeBoolean(`val`)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_test.go

    		before, _, ok := strings.Cut(line, "|")
    		if !ok {
    			return nil, errors.New("invalid test data")
    		}
    		line = before
    
    		hexBytes := strings.Fields(line)
    		for _, hexByte := range hexBytes {
    			val, err := strconv.ParseUint(hexByte, 16, 8)
    			if err != nil {
    				return nil, errors.New("invalid hex byte in test data: " + err.Error())
    			}
    			currentFlow = append(currentFlow, byte(val))
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

                    isUnit -> "Unit"
                    isString -> "\"\""
                    isUInt -> "0.toUInt()"
                    isULong -> "0.toULong()"
                    isUShort -> "0.toUShort()"
                    isUByte -> "0.toUByte()"
                    else -> null
                }
            }
    }
    
    public typealias KtTypeInfoProviderMixIn = KaTypeInfoProviderMixIn
    
    public object DefaultTypeClassIds {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/fmt/scan.go

    		return 10 + digit - 'A', true
    	}
    	return -1, false
    }
    
    // hexByte returns the next hex-encoded (two-character) byte from the input.
    // It returns ok==false if the next bytes in the input do not encode a hex byte.
    // If the first byte is hex and the second is not, processing stops.
    func (s *ss) hexByte() (b byte, ok bool) {
    	rune1 := s.getRune()
    	if rune1 == eof {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		{"kB", []string{"kb", "kbyte", "kilobyte"}, float64(1 << 10)},
    		{"MB", []string{"mb", "mbyte", "megabyte"}, float64(1 << 20)},
    		{"GB", []string{"gb", "gbyte", "gigabyte"}, float64(1 << 30)},
    		{"TB", []string{"tb", "tbyte", "terabyte"}, float64(1 << 40)},
    		{"PB", []string{"pb", "pbyte", "petabyte"}, float64(1 << 50)},
    	},
    	DefaultUnit: Unit{"B", []string{"b", "byte"}, 1},
    }, {
    	Units: []Unit{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        v1Creator.commit()
    
        cache["k1"]!!.use { snapshot1 ->
          val inV1 = snapshot1.getSource(0).buffer()
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
          assertThat(inV1.readByte()).isEqualTo('A'.code.toByte())
    
          val v1Updater = cache.edit("k1")!!
          v1Updater.setString(0, "CCcc")
          v1Updater.setString(1, "DDdd")
          v1Updater.commit()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top