Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 6,629 for Spring (0.16 sec)

  1. internal/grid/grid.go

    	return &writerWrapper{ch: ch, ctx: ctx}
    }
    
    // bytesOrLength returns small (<=100b) byte slices as string, otherwise length.
    func bytesOrLength(b []byte) string {
    	if len(b) > 100 {
    		return fmt.Sprintf("%d bytes", len(b))
    	}
    	return fmt.Sprint(b)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 15:56:18 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. internal/color/color.go

    		if IsTerminal() {
    			return color.New(color.FgBlue, color.Bold).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	BgYellow = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.BgYellow).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Black = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. cni/pkg/config/config.go

    	b.WriteString("LogUDSAddress: " + fmt.Sprint(c.LogUDSAddress) + "\n")
    
    	b.WriteString("AmbientEnabled: " + fmt.Sprint(c.AmbientEnabled) + "\n")
    	b.WriteString("AmbientDNSCapture: " + fmt.Sprint(c.AmbientDNSCapture) + "\n")
    	b.WriteString("AmbientIPv6: " + fmt.Sprint(c.AmbientIPv6) + "\n")
    
    	return b.String()
    }
    
    func (c RepairConfig) String() string {
    	var b strings.Builder
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/table/writer.go

    type BuildRowFunc func(obj interface{}) Row
    
    type Cell struct {
    	Value      string
    	Attributes []color.Attribute
    }
    
    type Row struct {
    	Cells []Cell
    }
    
    func NewCell(value string, attributes ...color.Attribute) Cell {
    	attrs := append([]color.Attribute{}, attributes...)
    	return Cell{value, attrs}
    }
    
    func (cell Cell) String() string {
    	if len(cell.Attributes) == 0 {
    		return cell.Value
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. internal/logger/logger.go

    }
    
    // HashString - return the highway hash of the passed string
    func HashString(input string) string {
    	hh, _ := highwayhash.New(magicHighwayHash256Key)
    	hh.Write([]byte(input))
    	return hex.EncodeToString(hh.Sum(nil))
    }
    
    // LogAlwaysIf prints a detailed error message during
    // the execution of the server.
    func LogAlwaysIf(ctx context.Context, subsystem string, err error, errKind ...interface{}) {
    	if err == nil {
    		return
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. cmd/erasure-healing.go

    	if opts != nil {
    		tr.Custom = map[string]string{
    			"dry":    fmt.Sprint(opts.DryRun),
    			"remove": fmt.Sprint(opts.Remove),
    			"mode":   fmt.Sprint(opts.ScanMode),
    		}
    		if result != nil {
    			tr.Custom["version-id"] = result.VersionID
    			tr.Custom["disks"] = strconv.Itoa(result.DiskCount)
    		}
    	}
    	if err != nil {
    		tr.Error = err.Error()
    	} else {
    		tr.HealResult = result
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  7. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         */
        String DEFAULT_SELF_COMBINATION_MODE = SELF_COMBINATION_MERGE;
    
        @Nonnull
        String getName();
    
        @Nonnull
        String getNamespaceUri();
    
        @Nonnull
        String getPrefix();
    
        @Nullable
        String getValue();
    
        @Nonnull
        Map<String, String> getAttributes();
    
        @Nullable
        String getAttribute(@Nonnull String name);
    
        @Nonnull
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                        out.print("; height: 18;\" HREF=\"");
                        out.print(path);
                        out.print(name);
                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b></a>");
                    }
                    else {
                        out.print(";\" HREF=\"");
                        out.print(path);
                        out.print(name);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        out.print( path );
                        out.print( name );
                        out.print( "\"><b>" );
                        out.print( name );
                        out.print( "</b></a>" );
                    } else {
                        out.print( ";\" HREF=\"" );
                        out.print( path );
                        out.print( name );
                        out.print( "\"><b>" );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

        /**
         * Simply converts the given content to an xml string.
         *
         * @param content the object to convert
         * @return the xml string representation
         * @throws XmlWriterException if an error occurs during the transformation
         * @see #fromXmlString(String)
         */
        public static String toXml(@Nonnull Model content) throws XmlWriterException {
            return new DefaultModelXmlFactory().toXmlString(content);
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
Back to top