- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 53 for reflect (0.25 sec)
-
cmd/test-utils_test.go
r = r*1664525 + 1013904223 randN = r randmu.Unlock() return strconv.Itoa(int(1e9 + r%1e9))[1:] } // isSameType - compares two object types via reflect.TypeOf func isSameType(obj1, obj2 interface{}) bool { return reflect.TypeOf(obj1) == reflect.TypeOf(obj2) } // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend. // Example usage: // // s := StartTestServer(t,"Erasure")
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js
...
JavaScript - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 13 04:21:06 GMT 2020 - 65.7K bytes - Viewed (0) -
tests/migrate_test.go
} columnTypes, err := DB.Table("user_migrate_columns").Migrator().ColumnTypes(&UserMigrateColumn2{}) if err != nil { t.Fatalf("failed to get column types, got error: %v", err) } typ := reflect.Indirect(reflect.ValueOf(&UserMigrateColumn2{})).Type() numField := typ.NumField() if numField != len(columnTypes) { t.Fatalf("column's number not match struct and ddl, %d != %d", numField, len(columnTypes)) }
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 11:24:16 GMT 2024 - 56.2K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
} // Failed as expected, but does it fail for the expected reason. if actualErr != nil && !testCase.shouldPass { if reflect.TypeOf(actualErr) != reflect.TypeOf(testCase.expectedErr) { t.Errorf("%s: Expected to fail with error \"%s\", but instead failed with error \"%s\"", instanceType, testCase.expectedErr, actualErr) } }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0) -
src/bytes/bytes_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytes_test import ( . "bytes" "fmt" "internal/testenv" "math" "math/rand" "reflect" "strings" "testing" "unicode" "unicode/utf8" "unsafe" ) func eq(a, b []string) bool { if len(a) != len(b) { return false } for i := 0; i < len(a); i++ { if a[i] != b[i] {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.internal.impl.model; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Field; import java.nio.file.Path; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.List;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri May 03 08:48:38 GMT 2024 - 61.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
} return null } /** * Finds the longest qualifier in [wholeQualifierElement] which can be safely shortened in the [positionScopes]. * [wholeQualifierClassId] is supposed to reflect the class which is referenced by the [wholeQualifierElement]. * * N.B. Even if the [wholeQualifierElement] is not strictly in the [selection], * some outer part of it might be, and we want to shorten that.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:51:33 GMT 2024 - 69.5K bytes - Viewed (0) -
okhttp/api/okhttp.api
public final fun newBuilder ()Lokhttp3/Request$Builder; public final fun tag ()Ljava/lang/Object; public final fun tag (Ljava/lang/Class;)Ljava/lang/Object; public final fun tag (Lkotlin/reflect/KClass;)Ljava/lang/Object; public fun toString ()Ljava/lang/String; public final fun url ()Lokhttp3/HttpUrl; } public class okhttp3/Request$Builder { public fun <init> ()V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 70.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
@Override public sun.misc.Unsafe run() throws Exception { Class<sun.misc.Unsafe> k = sun.misc.Unsafe.class; for (java.lang.reflect.Field f : k.getDeclaredFields()) { f.setAccessible(true); Object x = f.get(null); if (k.isInstance(x)) { return k.cast(x);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import com.google.common.testing.SerializableTester; import java.io.IOException; import java.io.StringReader; import java.lang.reflect.Field; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.EnumMap; import java.util.Enumeration; import java.util.HashMap;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 16:06:01 GMT 2024 - 67.2K bytes - Viewed (0)