- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,204 for printing (0.39 seconds)
-
src/archive/zip/example_test.go
} defer r.Close() // Iterate through the files in the archive, // printing some of their contents. for _, f := range r.File { fmt.Printf("Contents of %s:\n", f.Name) rc, err := f.Open() if err != nil { log.Fatal(err) } _, err = io.CopyN(os.Stdout, rc, 68) if err != nil { log.Fatal(err) } rc.Close() fmt.Println() } // Output: // Contents of README:
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 2K bytes - Click Count (0) -
internal/logger/console.go
// Build the passed error message errMsg := fmt.Sprintf(msg, args...) tagPrinted := false // Print the error message: the following code takes care // of splitting error text and always pretty printing the // red banner along with the error message. Since the error // message itself contains some colored text, we needed // to use some ANSI control escapes to cursor color state // and freely move in the screen.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0) -
cmd/server-startup-msg_test.go
newAPIEndpoints = stripStandardPorts(apiEndpoints, "") if !reflect.DeepEqual(apiEndpoints, newAPIEndpoints) { t.Fatalf("Expected %#v, got %#v", apiEndpoints, newAPIEndpoints) } } // Test printing server common message. func TestPrintServerCommonMessage(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3K bytes - Click Count (0) -
lib/hg/goreposum.py
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Nov 11 15:21:02 GMT 2025 - 2.4K bytes - Click Count (0) -
cmd/server-rlimit.go
if err != nil { // Could not probe the kernel version return false } if currentKernel == 0 { // We could not get any valid value return false return false } // legacy linux indicator for printing warnings // about older Linux kernels and Go runtime. return currentKernel < kernel.Version(4, 0, 0) } func setMaxResources(ctx serverCtxt) (err error) {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jul 02 15:09:36 GMT 2024 - 2.8K bytes - Click Count (0) -
internal/config/certsinfo.go
} buf.WriteString("\n") } return values } // CertificateText returns a human-readable string representation // of the certificate cert. The format is similar to the OpenSSL // way of printing certificates (not identical). func CertificateText(cert *x509.Certificate) string { var buf strings.Builder buf.WriteString(color.Blue("\nCertificate:\n")) if cert.SignatureAlgorithm != x509.UnknownSignatureAlgorithm {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 16 17:28:29 GMT 2021 - 3.1K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial006_py39.py hl[2:5,15,21] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java
* The description of the video. * Maximum 2048 characters. */ private String description; /** * A URL pointing to the actual video media file. * Must be one of the supported formats. */ private String contentLoc; /** * A URL pointing to a player for a specific video. * Usually this is the information in the src element of an <embed> tag. */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Nov 13 13:34:36 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
} } /** * Creates and returns a <code>ZipFile</code> for reading the Zip file specified by the URL. * * @param zipUrl * URL pointing to the Zip file. Must not be {@literal null}. * @return A <code>ZipFile</code> for reading the specified Zip file. */ public static ZipFile toZipFile(final URL zipUrl) {Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.7K bytes - Click Count (0) -
guava/src/com/google/common/io/Resources.java
* @throws IOException if an I/O error occurs */ public static void copy(URL from, OutputStream to) throws IOException { asByteSource(from).copyTo(to); } /** * Returns a {@code URL} pointing to {@code resourceName} if the resource is found using the * {@linkplain Thread#getContextClassLoader() context class loader}. In simple environments, the
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 7.4K bytes - Click Count (0)