Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 1,142 for Append (0.06 sec)

  1. cmd/metrics-v3-types.go

    		labels := make([]string, 0, len(metric.VariableLabels)*2)
    		for k, v := range metric.VariableLabels {
    			if newLabel, ok := renameLabels[k]; ok {
    				labels = append(labels, newLabel, v)
    			} else {
    				labels = append(labels, k, v)
    			}
    		}
    		labels = append(labels, extraLabels...)
    		// If valid non zero value set the metrics
    		if metric.Value > 0 {
    			m.Set(name, metric.Value, labels...)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:28:46 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. cmd/main.go

    		// go:build tags)
    		if command.Name == "" {
    			return
    		}
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    		sort.Strings(closestCommands)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/cluster.go

    	if err != nil {
    		return err
    	}
    	filteredClusters := make(proto.MessageSlice, 0, len(clusters))
    	for _, cluster := range clusters {
    		if filter.Verify(cluster) {
    			filteredClusters = append(filteredClusters, cluster)
    		}
    	}
    	out, err := json.MarshalIndent(filteredClusters, "", "    ")
    	if err != nil {
    		return err
    	}
    	if outputFormat == "yaml" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    	"cmd/internal/sys"
    )
    
    // TODO: configure the architecture
    
    var testOut *strings.Builder // Gathers output when testing.
    
    // append adds the Prog to the end of the program-thus-far.
    // If doLabel is set, it also defines the labels collect for this Prog.
    func (p *Parser) append(prog *obj.Prog, cond string, doLabel bool) {
    	if cond != "" {
    		switch p.arch.Family {
    		case sys.ARM:
    			if !arch.ARMConditionCodes(prog, cond) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. internal/config/notify/parse.go

    			targets = append(targets, t)
    		}
    	case config.NotifyPostgresSubSys:
    		postgresTargets, err := GetNotifyPostgres(cfg[config.NotifyPostgresSubSys])
    		if err != nil {
    			return nil, err
    		}
    		for id, args := range postgresTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewPostgreSQLTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

      fun escapeForUri(vararg codePoints: Int) =
        apply {
          uriEscapedCodePoints.append(String(*codePoints))
        }
    
      /**
       * Configure code points to be stripped in conversion to `java.net.URI`. That class is more
       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
          uriStrippedCodePoints.append(String(*codePoints))
        }
    
      override fun test(
        codePoint: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

                    return null;
                }
    
                @Override
                public void setInitParameterMap(final Map<String, Object> params) {
                    buf.append("value=").append(params.get("hoge"));
                }
    
            });
    
            clientFactory.setInitParameterMap(paramMap);
    
            assertEquals("value=test", buf.toString());
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                if (ruleList == null || ruleList.isEmpty()) {
                    return null;
                }
    
                StringBuilder sb = new StringBuilder();
                for (String line : ruleList) {
                    sb.append(line).append(System.lineSeparator());
                }
                return UserDictionary.open(new StringReader(sb.toString()));
            } catch (IOException e) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbResource.java

         * @throws CIFSException
         */
        OutputStream openOutputStream ( boolean append, int openFlags, int access, int sharing ) throws CIFSException;
    
    
        /**
         * Opens an output stream writing to the file (write only, exclusive write access)
         * 
         * @param append
         *            whether to append to or truncate the input
         * @param sharing
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                            split = '|';
                        } else {
                            buf.append(split);
                        }
                        final String normalizePath = systemHelper.normalizeConfigPath(path);
                        if (StringUtil.isNotBlank(normalizePath)) {
                            buf.append(normalizePath);
                        }
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top