Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,142 for Append (0.1 sec)

  1. istioctl/pkg/version/version.go

    	return func() (*istioVersion.MeshInfo, error) {
    		remInfo, err := getRemoteInfo(ctx, *opts)
    		var errMses []string
    
    		if remInfo == nil {
    			errMses = append(errMses, "Istio is not present in the cluster")
    		}
    
    		if err != nil {
    			errMses = append(errMses, fmt.Sprintf(": %v", err))
    		}
    
    		if len(errMses) > 0 {
    			fmt.Fprintln((*pc).OutOrStderr(), strings.Join(errMses, ""))
    		}
    
    		return remInfo, err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 21:11:35 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	// Data blocks can vary per pool, but parity is same.
    	for i, setDriveCount := range z.SetDriveCounts() {
    		b.StandardSCData = append(b.StandardSCData, setDriveCount-scParity)
    		b.RRSCData = append(b.RRSCData, setDriveCount-rrSCParity)
    		b.DrivesPerSet = append(b.DrivesPerSet, setDriveCount)
    		b.TotalSets = append(b.TotalSets, z.serverPools[i].setCount)
    	}
    
    	b.StandardSCParity = scParity
    	b.RRSCParity = rrSCParity
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

          return "[]";
        }
        StringBuilder builder = new StringBuilder(length() * 5); // rough estimate is fine
        builder.append('[').append(array[start]);
    
        for (int i = start + 1; i < end; i++) {
          builder.append(", ").append(array[i]);
        }
        builder.append(']');
        return builder.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/SignedBytes.java

        }
    
        // For pre-sizing a builder, just get the right order of magnitude
        StringBuilder builder = new StringBuilder(array.length * 5);
        builder.append(array[0]);
        for (int i = 1; i < array.length; i++) {
          builder.append(separator).append(array[i]);
        }
        return builder.toString();
      }
    
      /**
       * Returns a comparator that compares two {@code byte} arrays <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. internal/s3select/sql/stringfuncs.go

    	s := []rune{}
    	prev := runeZero
    	hasLeadingPercent := false
    	patLen := len([]rune(pattern))
    	for i, r := range pattern {
    		if i > 0 && prev == escape {
    			switch r {
    			case percent, escape, underscore:
    				s = append(s, r)
    				prev = r
    				if r == escape {
    					prev = runeZero
    				}
    			default:
    				return false, errMalformedEscapeSequence
    			}
    			continue
    		}
    
    		prev = r
    
    		var ok bool
    		switch r {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Chars.java

        }
    
        @Override
        public String toString() {
          StringBuilder builder = new StringBuilder(size() * 3);
          builder.append('[').append(array[start]);
          for (int i = start + 1; i < end; i++) {
            builder.append(", ").append(array[i]);
          }
          return builder.append(']').toString();
        }
    
        char[] toCharArray() {
          return Arrays.copyOfRange(array, start, end);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. internal/grid/benchmark_test.go

    			Handle: func(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *RemoteErr {
    				for i := 0; i < responses; i++ {
    					toSend := GetByteBuffer()[:0]
    					toSend = append(toSend, byte(i))
    					toSend = append(toSend, payload...)
    					select {
    					case <-ctx.Done():
    						return nil
    					case out <- toSend:
    					}
    				}
    				return nil
    			},
    
    			Subroute:    "some-subroute",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. logger/logger.go

    	if l.LogLevel >= Info {
    		l.Printf(l.infoStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...)
    	}
    }
    
    // Warn print warn messages
    func (l *logger) Warn(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Warn {
    		l.Printf(l.warnStr+msg, append([]interface{}{utils.FileWithLineNum()}, data...)...)
    	}
    }
    
    // Error print error messages
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                    for (final char c : value.toCharArray()) {
                        if (CharUtil.isUrlChar(c) || c == ' ') {
                            buf.append(c);
                        } else {
                            try {
                                buf.append(URLEncoder.encode(String.valueOf(c), Constants.UTF_8));
                            } catch (final UnsupportedEncodingException e) {
                                // NOP
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. internal/fips/api.go

    // TLSCurveIDs returns a list of supported elliptic curve IDs
    // in preference order.
    func TLSCurveIDs() []tls.CurveID {
    	var curves []tls.CurveID
    	if !Enabled {
    		curves = append(curves, tls.X25519) // Only enable X25519 in non-FIPS mode
    	}
    	curves = append(curves, tls.CurveP256, tls.CurveP384, tls.CurveP521)
    	return curves
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:11:25 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top