- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getConstant (0.1 sec)
-
src/cmd/asm/internal/asm/asm.go
// Strange special case: MCR, MRC. prog.To.Type = obj.TYPE_CONST x0 := p.getConstant(prog, op, &a[0]) x1 := p.getConstant(prog, op, &a[1]) x2 := int64(p.getRegister(prog, op, &a[2])) x3 := int64(p.getRegister(prog, op, &a[3])) x4 := int64(p.getRegister(prog, op, &a[4])) x5 := p.getConstant(prog, op, &a[5]) // Cond is handled specially for this instruction.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersJvmTest.kt
val headers = Headers.Builder() .add("Test-Instant", expected) .build() assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:00 GMT") assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected) } @Test fun setDate() { val expected = Date(1000) val headers = Headers.Builder() .add("testDate", Date(0L)) .set("testDate", expected)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
public void testParse_useConstants() throws Exception { for (MediaType constant : getConstants()) { assertSame(constant, MediaType.parse(constant.toString())); } } @J2ktIncompatible @GwtIncompatible // reflection public void testCreate_useConstants() throws Exception { for (MediaType constant : getConstants()) { assertSame( constant,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 20.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
.map(Expression::asLiteralStringValueExpr) .map(LiteralStringValueExpr::getValue) .orElse(null); getCurrentClass().getConstants().put(constName, value); }); } } private TypeMetaData extractTypeName(Type type) { TypeMetaData typeMetaData = new TypeMetaData();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Headers.kt
* either the field is absent or cannot be parsed as a date. */ @IgnoreJRERequirement // Only programs that already have Instant will use this. fun getInstant(name: String): Instant? { return getDate(name)?.toInstant() } /** Returns the number of field values. */ @get:JvmName("size") val size: Int get() = namesAndValues.size / 2
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
fun headers() { var headers: Headers = headersOf("", "") headers = mapOf("" to "").toHeaders() val get: String? = headers[""] val date: Date? = headers.getDate("") val instant: Instant? = headers.getInstant("") val size: Int = headers.size val name: String = headers.name(0) val value: String = headers.value(0) val names: Set<String> = headers.names() val values: List<String> = headers.values("")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 14:21:25 UTC 2024 - 46.5K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_DeleteTensor(a); TF_DeleteTensor(b); } TEST(CAPI, TestFromProto) { Tensor t_cc(DT_FLOAT, TensorShape({2, 3})); t_cc.flat<float>().setConstant(1.0); tensorflow::TensorProto t_proto; t_cc.AsProtoField(&t_proto); TF_Buffer* t_buffer = TF_NewBuffer(); TF_CHECK_OK(MessageToBuffer(t_proto, t_buffer));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0) -
okhttp/api/okhttp.api
public final fun byteCount ()J public fun equals (Ljava/lang/Object;)Z public final fun get (Ljava/lang/String;)Ljava/lang/String; public final fun getDate (Ljava/lang/String;)Ljava/util/Date; public final fun getInstant (Ljava/lang/String;)Ljava/time/Instant; public fun hashCode ()I public fun iterator ()Ljava/util/Iterator; public final fun name (I)Ljava/lang/String; public final fun names ()Ljava/util/Set;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0)