Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of about 10,000 for String4 (0.24 sec)

  1. internal/config/dns/etcd_dns.go

    			return err
    		}
    	}
    	return nil
    }
    
    // String stringer name for this implementation of dns.Store
    func (c *CoreDNS) String() string {
    	return "etcdDNS"
    }
    
    // CoreDNS - represents dns config for coredns server.
    type CoreDNS struct {
    	domainNames []string
    	domainIPs   set.StringSet
    	domainPort  string
    	prefixPath  string
    	etcdClient  *clientv3.Client
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/go/parser/parser_test.go

    }
    
    // split splits pre«mid»post into pre, mid, post.
    // If the string does not have that form, split returns x, "", "".
    func split(x string) (pre, mid, post string) {
    	start, end := strings.Index(x, "«"), strings.LastIndex(x, "»")
    	if start < 0 || end < 0 {
    		return x, "", ""
    	}
    	return x[:start], x[start+len("«") : end], x[end+len("»"):]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. src/internal/coverage/cfile/ts_test.go

    // present in the coverage report from F.
    func genAuxMeta(t *testing.T, dstdir string) (string, string) {
    	// Do a GOCOVERDIR=<tmp> go run hello.go
    	src := filepath.Join(dstdir, "hello.go")
    	if err := os.WriteFile(src, []byte(hellogo), 0777); err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	args := []string{"run", "-covermode=" + testing.CoverMode(), src}
    	cmd := exec.Command(testenv.GoToolPath(t), args...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:58:07 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/runtime/pprof/vminfo_darwin_test.go

    	for sc.Scan() {
    		l := sc.Text()
    		if grabbing {
    			p := strings.Fields(l)
    			if len(p) > 7 && p[0] == "__TEXT" && p[7] == "r-x/rwx" {
    				locs := strings.Split(p[1], "-")
    				start, _ := strconv.ParseUint(locs[0], 16, 64)
    				end, _ := strconv.ParseUint(locs[1], 16, 64)
    				return start, end, nil
    			}
    		}
    		if strings.HasPrefix(l, banner) {
    			grabbing = true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. pkg/ctrlz/topics/env.go

    	return "env"
    }
    
    type envVar struct {
    	Name  string `json:"name"`
    	Value string `json:"value"`
    }
    
    func getVars() []envVar {
    	env := os.Environ()
    	sort.Strings(env)
    
    	result := []envVar{}
    	for _, v := range env {
    		eq := strings.Index(v, "=")
    		name := v[:eq] //nolint
    		value := v[eq+1:]
    		result = append(result, envVar{Name: name, Value: value})
    	}
    
    	return result
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. pkg/kubelet/metrics/collectors/log_metrics_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package collectors
    
    import (
    	"context"
    	"strings"
    	"testing"
    
    	"k8s.io/component-base/metrics/testutil"
    	statsapi "k8s.io/kubelet/pkg/apis/stats/v1alpha1"
    )
    
    func TestNoMetricsCollected(t *testing.T) {
    	// Refresh Desc to share with different registry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 05 13:02:13 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  7. internal/config/lambda/event/arn.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import (
    	"strings"
    )
    
    // ARN - SQS resource name representation.
    type ARN struct {
    	TargetID
    	region string
    }
    
    // String - returns string representation.
    func (arn ARN) String() string {
    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/cmd/distpack/archive.go

    	lastN := func(name string, n int) string {
    		for i := len(name) - 1; i >= 0; i-- {
    			if name[i] == '/' {
    				if n--; n == 0 {
    					return name[i+1:]
    				}
    			}
    		}
    		return name
    	}
    
    	if p, ok := strings.CutPrefix(pattern, "**/"); ok {
    		return path.Match(p, lastN(name, 1+strings.Count(p, "/")))
    	}
    	if p, ok := strings.CutSuffix(pattern, "/**"); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 17:37:52 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. tensorflow/cc/tools/BUILD

    #include "third_party/absl/strings/str_cat.h"
    #Description:
    # TensorFlow cc tools.
    
    load(
        "//tensorflow:tensorflow.bzl",
        "tf_cc_test",
    )
    load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        default_visibility = ["//visibility:public"],
        licenses = ["notice"],
    )
    
    cc_library(
        name = "freeze_saved_model",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. cmd/genkubedocs/postprocessing.go

    limitations under the License.
    */
    
    package main
    
    import (
    	"os"
    	"path/filepath"
    	"strings"
    
    	"github.com/spf13/cobra"
    )
    
    // MarkdownPostProcessing goes though the generated files
    func MarkdownPostProcessing(cmd *cobra.Command, dir string, processor func(string) string) error {
    	for _, c := range cmd.Commands() {
    		if !c.IsAvailableCommand() || c.IsAdditionalHelpTopicCommand() {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top