Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 6,622 for stringy (0.11 sec)

  1. src/cmd/distpack/pack.go

    }
    
    // mode computes the mode for the given file name.
    func mode(name string, _ fs.FileMode) fs.FileMode {
    	if strings.HasPrefix(name, "bin/") ||
    		strings.HasPrefix(name, "pkg/tool/") ||
    		strings.HasSuffix(name, ".bash") ||
    		strings.HasSuffix(name, ".sh") ||
    		strings.HasSuffix(name, ".pl") ||
    		strings.HasSuffix(name, ".rc") {
    		return 0o755
    	} else if ok, _ := amatch("**/go_?*_?*_exec", name); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. istioctl/pkg/internaldebug/internal-debug_test.go

    )
    
    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestInternalDebug(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, no args
    			args:           []string{},
    			noIstiod:       true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/runtime/coro_test.go

    		})
    	}
    }
    
    func checkCoroTestProgOutput(t *testing.T, output string) {
    	t.Helper()
    
    	c := strings.SplitN(output, "\n", 2)
    	if len(c) == 1 {
    		t.Fatalf("expected at least one complete line in the output, got:\n%s", output)
    	}
    	expect, ok := strings.CutPrefix(c[0], "expect: ")
    	if !ok {
    		t.Fatalf("expected first line of output to start with \"expect: \", got: %q", c[0])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 21:36:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/ModuleDependency.java

        }
    
        private static boolean scopeEquals(String lhs, String rhs) {
            if ("COMPILE".equals(lhs)) {
                return Strings.isNullOrEmpty(rhs) || "COMPILE".equals(rhs);
            } else if ("COMPILE".equals(rhs)) {
                return Strings.isNullOrEmpty(lhs);
            } else {
                return Objects.equal(lhs, rhs);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. tests/integration/pilot/analyze_test.go

    }
    
    func istioctlWithStderr(t test.Failer, i istioctl.Instance, ns string, useKube bool, extraArgs ...string) (string, string, error) {
    	t.Helper()
    
    	args := []string{"analyze"}
    	if ns != "" {
    		args = append(args, "--namespace", ns)
    	}
    	// Suppress some cluster-wide checks. This ensures we do not fail tests when running on clusters that trigger
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. src/crypto/ecdh/ecdh_test.go

    	for _, match := range regexp.MustCompile(`(?m)T (crypto/.*)$`).FindAllStringSubmatch(nm, -1) {
    		symbol := strings.ToLower(match[1])
    		if strings.Contains(symbol, "p384") {
    			consistent = true
    		}
    		if strings.Contains(symbol, "p224") || strings.Contains(symbol, "p256") || strings.Contains(symbol, "p521") {
    			t.Errorf("unexpected symbol in program using only ecdh.P384: %s", match[1])
    		}
    	}
    	if !consistent {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/resource/v1alpha2/namedresources.go

    	// +listType=atomic
    	Ints []int64 `json:"ints" protobuf:"bytes,1,opt,name=ints"`
    }
    
    // NamedResourcesStringSlice contains a slice of strings.
    type NamedResourcesStringSlice struct {
    	// Strings is the slice of strings.
    	//
    	// +listType=atomic
    	Strings []string `json:"strings" protobuf:"bytes,1,opt,name=strings"`
    }
    
    // NamedResourcesRequest is used in ResourceRequestModel.
    type NamedResourcesRequest struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. src/crypto/internal/hpke/hpke_test.go

    		vals[fields[0]] = fields[1]
    	}
    	return vals
    }
    
    func parseVectorEncryptions(vector string) []map[string]string {
    	vals := []map[string]string{}
    	for _, section := range strings.Split(vector, "\n\n") {
    		e := map[string]string{}
    		for _, l := range strings.Split(section, "\n") {
    			fields := strings.Split(l, ": ")
    			e[fields[0]] = fields[1]
    		}
    		vals = append(vals, e)
    	}
    	return vals
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. pkg/util/tail/tail_test.go

    			max:           blockSize,
    			longerThanMax: true,
    			expected:      strings.Repeat("a", blockSize/2-1) + "\n" + strings.Repeat("a", blockSize/2),
    		},
    		{
    			name:          "the max is longer than file length ",
    			max:           4613,
    			longerThanMax: false,
    			expected:      string(testBytes),
    		},
    	}
    
    	for _, test := range testCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/json/json_test.go

    	Int32 int `json:"int32"`
    	Int64 int `json:"int64"`
    
    	Float32 float32 `json:"float32"`
    	Float64 float64 `json:"float64"`
    
    	String string `json:"string"`
    
    	Struct testDecodable `json:"struct"`
    
    	Array []string          `json:"array"`
    	Map   map[string]string `json:"map"`
    }
    
    func (d *testDecodeCoercion) DeepCopyObject() runtime.Object {
    	if d == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:55:02 UTC 2024
    - 40K bytes
    - Viewed (0)
Back to top