Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for t_long (0.17 sec)

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

                type.isUInt -> KaConstantValue.KaUnsignedIntConstantValue((value as Number).toInt().toUInt(), expression)
                type.isLong -> KaConstantValue.KaLongConstantValue((value as Number).toLong(), expression)
                type.isULong -> KaConstantValue.KaUnsignedLongConstantValue((value as Number).toLong().toULong(), expression)
                type.isString -> KaConstantValue.KaStringConstantValue(value.toString(), 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/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

                    isInt || isLong || isShort || isByte -> "0"
                    isFloat -> "0.0f"
                    isDouble -> "0.0"
                    isChar -> "'\\u0000'"
                    isBoolean -> "false"
                    isUnit -> "Unit"
                    isString -> "\"\""
                    isUInt -> "0.toUInt()"
                    isULong -> "0.toULong()"
                    isUShort -> "0.toUShort()"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyRead.groovy

                    return "System.getProperty(\"$name\", \"$defaultValue\")?.toLong()"
                }
            }
        }
    
        static SystemPropertyRead longGetLongWithLongDefault(String name, long defaultValue) {
            return new SystemPropertyRead() {
                @Override
                String getJavaExpression() {
                    return "Long.getLong(\"$name\", Long.valueOf($defaultValue))"
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                    val long = value as Long
                    if (Int.MIN_VALUE < long && long < Int.MAX_VALUE) KaConstantValue.KaIntConstantValue(long.toInt(), psi)
                    else KaConstantValue.KaLongConstantValue(long, psi)
                }
    
                ConstantValueKind.UnsignedIntegerLiteral -> {
                    val long = value as ULong
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/DurationCodec.kt

            // on Java 8
            writeLong(value.seconds)
            writeSmallInt(value.nano)
        }
    
        override suspend fun ReadContext.decode(): Duration =
            Duration.ofSeconds(readLong(), readSmallInt().toLong())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

        else -> -1
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    @Throws(IOException::class)
    internal fun BufferedSink.writeMedium(medium: Int) {
      writeByte(medium.ushr(16) and 0xff)
      writeByte(medium.ushr(8) and 0xff)
      writeByte(medium and 0xff)
    }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt

            }
    
            override fun getOutputStream(requestor: Any?, newModificationStamp: Long, newTimeStamp: Long): OutputStream {
                error("Not yet implemented")
            }
    
            override fun contentsToByteArray(): ByteArray = ktFile.text.toByteArray()
    
            override fun getLength(): Long = ktFile.textLength.toLong()
    
            private val timeStamp = LocalDateTime.now().toEpochSecond(ZoneOffset.UTC)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

        override fun skip(n: Long): Long = inputStream.skip(n)
    
        override fun registerValidation(obj: ObjectInputValidation?, prio: Int) = Unit
    
        override fun close() = Unit
    
        override fun available(): Int = inputStream.available()
    
        override fun skipBytes(len: Int): Int = inputStream.skip(len.toLong()).toInt()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

        return tpu_status.getValue();
      }
      auto device_type = op->getAttrOfType<StringAttr>(TF::kCompileDeviceTypeAttr);
      if (!device_type || device_type.getValue() != TF::kTpuDevice) {
        // Op does not belong to a TPU cluster.
        return std::nullopt;
      }
      // Op belongs to a TPU cluster.
      if (auto replication_info =
              op->getAttrOfType<StringAttr>(TF::kReplicationInfoAttr)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/storagebackend/config.go

    	Transport TransportConfig
    
    	Codec runtime.Codec
    	// EncodeVersioner is the same groupVersioner used to build the
    	// storage encoder. Given a list of kinds the input object might belong
    	// to, the EncodeVersioner outputs the gvk the object will be
    	// converted to before persisted in etcd.
    	EncodeVersioner runtime.GroupVersioner
    	// Transformer allows the value to be transformed prior to persisting into etcd.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top