- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 for printing (0.1 seconds)
-
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 Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 16 17:28:29 GMT 2021 - 3.1K bytes - Click Count (0) -
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 Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 27 00:22:03 GMT 2016 - 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 3K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.2K bytes - Click Count (0) -
lib/hg/goreposum.py
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Nov 11 15:21:02 GMT 2025 - 2.4K bytes - Click Count (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// // For example some tensor handles may represent distributed values, in which // case placement information is lost when resolving the handle. // // If false, a caller might implement pretty-printing by resolving and // iterating over the resulting tensor. This may still be viable if resolving // the handle loses information, but `SummarizeValue` would be more precise.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 4.3K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jul 02 15:09:36 GMT 2024 - 2.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java
import org.elasticsearch.gradle.Version; import java.util.Comparator; import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Encapsulates comparison and printing logic for an x.y.z version with optional qualifier. This class is very similar * to {@link Version}, but it dissects the qualifier in such a way that is incompatibleCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 5.9K bytes - Click Count (0) -
docs/en/docs/tutorial/handling-errors.md
{* ../../docs_src/handling_errors/tutorial006_py310.py hl[2:5,15,21] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilder.java
* * @param session the {@link Session}, must not be {@code null} * @param installationToolchainsFile The {@link Source} pointing to the installation toolchains, must not be {@code null} * @param userToolchainsSource The {@link Source} pointing to the user toolchains, must not be {@code null} * @throws ToolchainsBuilderException if the project cannot be createdCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Aug 22 14:47:43 GMT 2024 - 2.5K bytes - Click Count (0)