- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for copyFrom (0.13 sec)
-
pilot/pkg/networking/util/fuzz_test.go
fuzz.Fuzz(f, func(fg fuzz.Helper) { copyFrom := fuzz.Struct[*networking.TrafficPolicy](fg) empty1 := &networking.TrafficPolicy{} copied := mergeTrafficPolicy(empty1, copyFrom, true) assert.Equal(fg.T(), copyFrom, copied) empty2 := &networking.TrafficPolicy{} copied = mergeTrafficPolicy(empty2, copied, true) assert.Equal(fg.T(), copyFrom, copied) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 20:32:49 UTC 2024 - 1.8K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h
tuple(const GTEST_1_TUPLE_(U)& t) : f0_(t.f0_) {} tuple& operator=(const tuple& t) { return CopyFrom(t); } template <GTEST_1_TYPENAMES_(U)> tuple& operator=(const GTEST_1_TUPLE_(U)& t) { return CopyFrom(t); } GTEST_DECLARE_TUPLE_AS_FRIEND_ template <GTEST_1_TYPENAMES_(U)> tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) { f0_ = t.f0_; return *this; } T0 f0_; };
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 27.6K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/IncrementalGroovyCompileIntegrationTest.groovy
} @Test void recompilesDependentClasses() { executer.withTasks("classes").run(); // Update interface, compile should fail file('src/main/groovy/IPerson.groovy').assertIsFile().copyFrom(file('NewIPerson.groovy')) ExecutionFailure failure = executer.withTasks("classes").runWithFailure(); failure.assertHasDescription("Execution failed for task ':compileGroovy'."); } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h
tuple(const GTEST_1_TUPLE_(U)& t) : f0_(t.f0_) {} tuple& operator=(const tuple& t) { return CopyFrom(t); } template <GTEST_1_TYPENAMES_(U)> tuple& operator=(const GTEST_1_TUPLE_(U)& t) { return CopyFrom(t); } GTEST_DECLARE_TUPLE_AS_FRIEND_ template <GTEST_1_TYPENAMES_(U)> tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) { f0_ = t.f0_; return *this; } T0 f0_; };
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 27.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/Cursor.java
public class Cursor { int col; // count from left of screen, 0 = left most int row; // count from bottom of screen, 0 = bottom most, 1 == 2nd from bottom @SuppressWarnings("ReferenceEquality") public void copyFrom(Cursor position) { if (position == this) { return; } this.col = position.col; this.row = position.row; } public void bottomLeft() { col = 0;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/CursorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
field_tag { field: 5 } field_tag { map_key { ui32: 123 } } )pb")); RepeatedPtrField<FieldIndex> field_tags_sub; field_tags_sub.CopyFrom(field_tags); field_tags_sub.DeleteSubrange(2, 2); EXPECT_THAT(fieldTagMatches(field_tags_sub, field_tags), IsOkAndHolds(2)); } TEST(FingerprintingTest, TestFieldTagMatchesNoninitialSubsequence) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 22:19:55 UTC 2024 - 15.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java
action.execute(new AnsiContextImpl(ansi, colorMap, writePos)); write(ansi); } private void charactersWritten(Cursor cursor, int count) { writeCursor.col += count; cursor.copyFrom(writeCursor); } private void newLineWritten(Cursor cursor) { writeCursor.col = 0; // On any line except the bottom most one, a new line simply move the cursor to the next row.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/junit/JUnitOptionsTest.groovy
when: def target = new JUnitOptions() .includeCategories("targetIncludedCategory") .excludeCategories("targetExcludedCategory") target.copyFrom(source) then: with(target) { includeCategories =~ ["sourceIncludedCategory"] excludeCategories =~ ["sourceExcludedCategory"] } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/FilteredMinimalFileTree.java
return mirror.filter(this.patterns); } @Override public MinimalFileTree filter(PatternFilterable patterns) { PatternSet filter = this.patterns.intersect(); filter.copyFrom(patterns); return new FilteredMinimalFileTree(filter, tree); } @Override public void visitStructure(MinimalFileTreeStructureVisitor visitor, FileTreeInternal owner) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.4K bytes - Viewed (0)