- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 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) -
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/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) -
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) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/AbstractLongRunningOperation.java
operationParamsBuilder.setInjectedPluginClasspath(classpath); return getThis(); } public void copyFrom(ConsumerOperationParameters operationParameters) { operationParamsBuilder.copyFrom(operationParameters); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.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.pump
tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {} ]] tuple& operator=(const tuple& t) { return CopyFrom(t); } template <GTEST_$(k)_TYPENAMES_(U)> tuple& operator=(const GTEST_$(k)_TUPLE_(U)& t) { return CopyFrom(t); } $if k == 2 [[ template <typename U0, typename U1> tuple& operator=(const ::std::pair<U0, U1>& p) { f0_ = p.first;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 9K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest.groovy
} def recompilesDependentClasses() { given: run("classes") when: // Update interface, compile should fail file('src/main/scala/IPerson.scala').assertIsFile().copyFrom(file('NewIPerson.scala')) then: runAndFail("classes").assertHasDescription("Execution failed for task ':compileScala'.") } @Issue("gradle/gradle#13392")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 5.9K bytes - Viewed (0)