Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for NA (0.17 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/workload.go

    		return svc.Name
    	}
    
    	return "NA" // Shouldn't normally reach here
    }
    
    func serviceWaypointName(svc *ZtunnelService, services map[string]*ZtunnelService) string {
    	if svc.Waypoint == nil {
    		return "None"
    	}
    
    	if svc, ok := services[svc.Waypoint.Destination]; ok {
    		return svc.Name
    	}
    
    	return "NA" // Shouldn't normally reach here
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    			}
    		}
    	}
    	return w.Flush()
    }
    
    func valueOrNA(value string) string {
    	if value == "" {
    		return "NA"
    	}
    	return value
    }
    
    func certNotExpired(cert *Cert) bool {
    	// case where cert state is in either Initializing or Unavailable state
    	if cert.ExpirationTime == "" && cert.ValidFrom == "" {
    		return false
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    	if n <= 0 || n > len(s) {
    		n = len(s)
    	}
    	a := make([][]byte, n)
    	var size int
    	na := 0
    	for len(s) > 0 {
    		if na+1 >= n {
    			a[na] = s
    			na++
    			break
    		}
    		_, size = utf8.DecodeRune(s)
    		a[na] = s[0:size:size]
    		s = s[size:]
    		na++
    	}
    	return a[0:na]
    }
    
    // Count counts the number of non-overlapping instances of sep in s.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/lex_test.go

    	},
    	{
    		"#ifndef foo\nhello",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#ifdef foo\nhello\n#else\nbye",
    		"unclosed #ifdef or #ifndef",
    	},
    	{
    		"#define A() A()\nA()",
    		"recursive macro invocation",
    	},
    	{
    		"#define A a\n#define A a\n",
    		"redefinition of macro",
    	},
    	{
    		"#define A a",
    		"no newline after macro definition",
    	},
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/bytes/example_test.go

    	fmt.Println(bytes.NewReader([]byte("Hi!")).Len())
    	fmt.Println(bytes.NewReader([]byte("こんにちは!")).Len())
    	// Output:
    	// 3
    	// 16
    }
    
    func ExampleRepeat() {
    	fmt.Printf("ba%s", bytes.Repeat([]byte("na"), 2))
    	// Output: banana
    }
    
    func ExampleReplace() {
    	fmt.Printf("%s\n", bytes.Replace([]byte("oink oink oink"), []byte("k"), []byte("ky"), 2))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. internal/s3select/csv/reader_contrib_test.go

    )
    
    func TestRead(t *testing.T) {
    	cases := []struct {
    		content         string
    		recordDelimiter string
    		fieldDelimiter  string
    	}{
    		{"1,2,3\na,b,c\n", "\n", ","},
    		{"1,2,3\ta,b,c\t", "\t", ","},
    		{"1,2,3\r\na,b,c\r\n", "\r\n", ","},
    	}
    
    	for i, c := range cases {
    		var err error
    		var record sql.Record
    		var result bytes.Buffer
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    			}
    		})
    	}
    }
    
    func TestCSVQueries3(t *testing.T) {
    	input := `na.me,qty,CAST
    apple,1,true
    mango,3,false
    `
    	testTable := []struct {
    		name       string
    		query      string
    		requestXML []byte // override request XML
    		wantResult string
    	}{
    		{
    			name:  "Select a column containing dot",
    			query: `select "na.me" from S3Object s`,
    			wantResult: `apple
    mango`,
    		},
    		{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    	{"banana", "a", "<>", 1000, "b<>n<>n<>"},
    	{"banana", "an", "<>", -1, "b<><>a"},
    	{"banana", "ana", "<>", -1, "b<>na"},
    	{"banana", "", "<>", -1, "<>b<>a<>n<>a<>n<>a<>"},
    	{"banana", "", "<>", 10, "<>b<>a<>n<>a<>n<>a<>"},
    	{"banana", "", "<>", 6, "<>b<>a<>n<>a<>n<>a"},
    	{"banana", "", "<>", 5, "<>b<>a<>n<>a<>na"},
    	{"banana", "", "<>", 1, "<>banana"},
    	{"banana", "a", "a", -1, "banana"},
    	{"banana", "a", "a", 1, "banana"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top