- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for copyList (0.49 sec)
-
maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
clone.setFile(artifact.getFile()); clone.setAvailableVersions(copyList(artifact.getAvailableVersions())); if (artifact.getVersion() != null) { clone.setBaseVersion(artifact.getBaseVersion()); } clone.setDependencyFilter(artifact.getDependencyFilter()); clone.setDependencyTrail(copyList(artifact.getDependencyTrail())); clone.setDownloadUrl(artifact.getDownloadUrl());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 06 08:51:18 UTC 2023 - 6.9K bytes - Viewed (0) -
src/text/template/parse/node.go
for _, n := range l.Nodes { n.writeTo(sb) } } func (l *ListNode) CopyList() *ListNode { if l == nil { return l } n := l.tr.newList(l.Pos) for _, elem := range l.Nodes { n.append(elem.Copy()) } return n } func (l *ListNode) Copy() Node { return l.CopyList() } // TextNode holds plain text. type TextNode struct { NodeType Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
src/text/template/parse/parse.go
// Copy returns a copy of the [Tree]. Any parsing state is discarded. func (t *Tree) Copy() *Tree { if t == nil { return nil } return &Tree{ Name: t.Name, ParseName: t.ParseName, Root: t.Root.CopyList(), text: t.text, } } // Parse returns a map from template name to [Tree], created by parsing the // templates described in the argument string. The top-level template will be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 21.3K bytes - Viewed (0) -
src/html/template/escape.go
// with different top level templates, or clone if necessary. dt := e.template(dname) if dt == nil { dt = template.New(dname) dt.Tree = &parse.Tree{Name: dname, Root: t.Root.CopyList()} e.derived[dname] = dt } t = dt } return e.computeOutCtx(c, t), dname } // computeOutCtx takes a template and its start context and computes the output
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 02 15:18:39 UTC 2023 - 32.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/tasks/CopyTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.tasks class CopyTest extends AbstractCopyTaskContractTest { private Copy task def setup() { task = createTask(Copy) } @Override AbstractCopyTask getTask() { return task }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 17 18:59:41 UTC 2016 - 856 bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar
String, String, String); public static java.util.Map artifactMapByVersion(java.util.Collection); public static java.util.Map artifactMapByArtifac(java.util.Collection); public static Artifact copyArtifact(Artifact); private static java.util.List copyList(java.util.List); } org/apache/maven/artifact/DefaultArtifact.class package org.apache.maven.artifact; public synchronized class DefaultArtifact implements Artifact { private String groupId; private String artifactId; private String baseVersion; private...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Oct 02 08:41:25 UTC 2022 - 160.1K bytes - Viewed (0) -
maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/artifact/maven-artifact/3.0-SNAPSHOT/maven-artifact-3.0-SNAPSHOT.jar
String, String, String); public static java.util.Map artifactMapByVersion(java.util.Collection); public static java.util.Map artifactMapByArtifac(java.util.Collection); public static Artifact copyArtifact(Artifact); private static java.util.List copyList(java.util.List); } org/apache/maven/artifact/DefaultArtifact.class package org.apache.maven.artifact; public synchronized class DefaultArtifact implements Artifact { private String groupId; private String artifactId; private String baseVersion; private...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Oct 16 20:15:40 UTC 2007 - 160.1K bytes - Viewed (0) -
src/make.bat
if x%2==x-no-clean...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/file/file_test.go
assert.Equal(t, m.Mode(), 0o750) body, _ := io.ReadAll(f) // Contents should be copied assert.Equal(t, body, []byte("hello world")) } func TestCopy(t *testing.T) { copyTest(t, Copy) } func TestAtomicCopy(t *testing.T) { copyTest(t, AtomicCopy) } func TestAtomicWrite(t *testing.T) { d := t.TempDir() file := filepath.Join(d, "test") data := []byte("hello world") err := AtomicWrite(file, data, 0o750)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 11 19:10:54 UTC 2023 - 1.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/file/ProjectCopySpecTest.groovy
delegate.duplicatesStrategy "include" } } expect: project.copy { copyRootCalled = true into copyDest with copySpec from copySource from copySource, { delegate.duplicatesStrategy "include" eachFile { copyNestedEachFileCalled = true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 27 10:59:05 UTC 2016 - 2.7K bytes - Viewed (0)