- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for setComment (0.06 seconds)
-
src/archive/zip/writer_test.go
for _, test := range tests { // write a zip file buf := new(bytes.Buffer) w := NewWriter(buf) if err := w.SetComment(test.comment); err != nil { if test.ok { t.Fatalf("SetComment: unexpected error %v", err) } continue } else { if !test.ok { t.Fatalf("SetComment: unexpected success, want error") } } if err := w.Close(); test.ok == (err != nil) { t.Fatal(err) }Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 14.4K bytes - Click Count (0) -
src/archive/zip/writer.go
// Calling Flush is not normally necessary; calling Close is sufficient. func (w *Writer) Flush() error { return w.cw.w.(*bufio.Writer).Flush() } // SetComment sets the end-of-central-directory comment field. // It can only be called before [Writer.Close]. func (w *Writer) SetComment(comment string) error { if len(comment) > uint16max { return errors.New("zip: Writer.Comment too long") } w.comment = comment return nil }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jan 28 04:20:09 GMT 2025 - 19.4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocCommentBuilder.java
this.javadocConverter = javadocConverter; this.listener = listener; } /** * Builds the class comment for the given class. */ void build(ClassDoc classDoc) { classDoc.setComment(javadocConverter.parse(classDoc.getClassMetaData(), listener).getDocbook()); }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.2K bytes - Click Count (0) -
api/go1.10.txt
pkg archive/tar, type Format int pkg archive/tar, type Header struct, Format Format pkg archive/tar, type Header struct, PAXRecords map[string]string pkg archive/zip, method (*Writer) SetComment(string) error pkg archive/zip, type FileHeader struct, Modified time.Time pkg archive/zip, type FileHeader struct, NonUTF8 bool pkg bufio, method (*Reader) Size() int pkg bufio, method (*Writer) Size() int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Feb 06 05:00:01 GMT 2018 - 30.1K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/MethodDetailRenderer.java
} title.appendChild(document.createTextNode(")")); warningsRenderer.renderTo(methodDoc, "method", section); for (Element element : methodDoc.getComment()) { section.appendChild(document.importNode(element, true)); } }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockDetailRenderer.java
title.appendChild(document.createTextNode(" { }")); warningsRenderer.renderTo(blockDoc, "script block", section); for (Element element : blockDoc.getComment()) { section.appendChild(document.importNode(element, true)); } Element segmentedlist = document.createElement("segmentedlist"); section.appendChild(segmentedlist);
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 3.7K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDescriptionRenderer.java
addApiDocumentationLink(classDoc, parent, document); addSubtypeLinks(classDoc, parent, document); warningsRenderer.renderTo(classDoc, "class", parent); for (Element element : classDoc.getComment()) { parent.appendChild(document.importNode(element, true)); } NodeList otherContent = classDoc.getClassSection().getChildNodes(); for (int i = 0; i < otherContent.getLength(); i++) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
} // Comments org = license.getComments(); val = interpolate(org); if (org != val) { license.setComments(val); } } } private void visit(Developer developer) { if (developer != null) { String org, val; // ContributorCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 43.1K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
String src = source.getComments(); if (src != null) { if (sourceDominant || target.getComments() == null) { target.setComments(src); target.setLocation("comments", source.getLocation("comments")); } } } protected void mergeMailingList(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 11:21:39 GMT 2025 - 99.2K bytes - Click Count (0)