- Sort Score
- Result 10 results
- Languages All
Results 1511 - 1520 of 2,658 for Created (0.1 sec)
-
tests/embedded_struct_test.go
t.Fatalf("failed to auto migrate, got error: %v", err) } hnPost := HNPost{Content: Content{Content: "hello world"}} if err := DB.Create(&hnPost).Error; err != nil { t.Errorf("Failed to create got error %v", err) } } func TestEmbeddedRelations(t *testing.T) { type EmbUser struct { gorm.Model Name string Age uint
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java
* requested model source.</li> * </ul> * * @param relPath is the path of the requested model source relative to this model source POM. * @return related model source or <code>null</code> if no such model source. */ ModelSource2 getRelatedSource(String relPath); /** * Returns location of the POM, never <code>null</code>. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
suite.addTestSuite(ListsTest.class); suite.addTest( ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { String[] rest = new String[elements.length - 1]; arraycopy(elements, 1, rest, 0, elements.length - 1); return Lists.asList(elements[0], rest);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
suite.addTestSuite(ListsTest.class); suite.addTest( ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { String[] rest = new String[elements.length - 1]; arraycopy(elements, 1, rest, 0, elements.length - 1); return Lists.asList(elements[0], rest);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
RegisterParallelDevice(context.get(), device_name, underlying_devices, status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); // Create two vectors with different lengths std::vector<float> size_two_value{1., 2.}; std::vector<float> size_three_value{1., 2., 3.}; TensorHandlePtr size_two( VectorFloatTensorHandle(size_two_value, status.get()));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet * implementation. */ @GwtIncompatible public class SortedSetTestSuiteBuilder<E> extends SetTestSuiteBuilder<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java
import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Set; import junit.framework.TestSuite; /** * Creates, based on your criteria, a JUnit test suite that exhaustively tests a SortedSet * implementation. */ @GwtIncompatible public class SortedSetTestSuiteBuilder<E> extends SetTestSuiteBuilder<E> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
private Set<Element> setToTest; @BeforeExperiment void setUp() { CollectionBenchmarkSampleData sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size); setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); } @Benchmark int iteration(int reps) { int x = 0; for (int i = 0; i < reps; i++) { for (Element y : setToTest) { x ^= System.identityHashCode(y);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java
private Set<Element> setToTest; @BeforeExperiment void setUp() { CollectionBenchmarkSampleData sampleData = new CollectionBenchmarkSampleData(true, random, 0.8, size); setToTest = (Set<Element>) impl.create(sampleData.getValuesInSet()); } @Benchmark int iteration(int reps) { int x = 0; for (int i = 0; i < reps; i++) { for (Element y : setToTest) { x ^= System.identityHashCode(y);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM)); /** * UUIDを作成します。 * * @return UUIDの文字列 */ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2); buf.append(BASE); final int lowTime = (int) (System.currentTimeMillis() >> 32); StringUtil.appendHex(buf, lowTime);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.8K bytes - Viewed (0)