Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for Brune (0.12 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    			if (len(args) == 1) != (configDumpFile == "") {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("cluster requires pod name or --file parameter")
    			}
    			return nil
    		},
    		RunE: func(c *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			var configWriter *configdump.ConfigWriter
    			if len(args) == 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  2. src/bufio/bufio.go

    	b.lastRuneSize = -1
    	return nil
    }
    
    // ReadRune reads a single UTF-8 encoded Unicode character and returns the
    // rune and its size in bytes. If the encoded rune is invalid, it consumes one byte
    // and returns unicode.ReplacementChar (U+FFFD) with a size of 1.
    func (b *Reader) ReadRune() (r rune, size int, err error) {
    	for b.r+utf8.UTFMax > b.w && !utf8.FullRune(b.buf[b.r:b.w]) && b.err == nil && b.w-b.r < len(b.buf) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl x ztunnel-config certificates <ztunnel-name[.namespace]> -o json
    `,
    		Aliases: []string{"certificates", "certs", "cert"},
    		Args:    common.validateArgs,
    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintSecretSummary()
    			case jsonOutput, yamlOutput:
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  4. src/bufio/scan_test.go

    		if err != nil {
    			t.Errorf("#%d: %v", n, err)
    		}
    	}
    }
    
    // Test that the rune splitter returns same sequence of runes (not bytes) as for range string.
    func TestScanRune(t *testing.T) {
    	for n, test := range scanTests {
    		buf := strings.NewReader(test)
    		s := NewScanner(buf)
    		s.Split(ScanRunes)
    		var i, runeCount int
    		var expect rune
    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. internal/event/target/postgresql.go

    		return err
    	} else if match {
    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    		case unicode.IsLetter(r):
    			return 'a'
    		case unicode.IsDigit(r):
    			return '0'
    		case r == '_', r == '$':
    			return r
    		default:
    			valid = false
    			return -1
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    // a canonical form. Practically this means that we convert any punctuation to
    // dashes, which is how the UID is represented within Kubernetes.
    func canonicalizePodUID(uid string) types.UID {
    	return types.UID(strings.Map(func(r rune) rune {
    		if unicode.IsPunct(r) {
    			r = '-'
    		}
    		return r
    	}, uid))
    }
    
    // Cgroup represents a linux cgroup.
    type Cgroup struct {
    	HierarchyID    string
    	ControllerList string
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    	//
    	//	R1
    	//	offset
    	//	$offset
    	// Every piece is optional, so we scan left to right and what
    	// we discover tells us where we are.
    
    	// Prefix: $.
    	var prefix rune
    	switch tok := p.peek(); tok {
    	case '$', '*':
    		prefix = rune(tok)
    		p.next()
    	}
    
    	// Symbol: sym±offset(SB)
    	tok := p.next()
    	name := tok.String()
    	if tok.ScanToken == scanner.Ident && !p.atStartOfRegister(name) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. istioctl/pkg/injector/injector-list.go

    		Example: `  istioctl experimental injector list`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(injectorListCommand(cliContext))
    	return cmd
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/archive/zip/writer_test.go

    			comment: "in the 世界",
    			flags:   0x808,
    		},
    		{
    			name:    "hi, こんにちわ",
    			comment: "in the 世界",
    			flags:   0x808,
    		},
    		{
    			name:    "the replacement rune is �",
    			comment: "the replacement rune is �",
    			flags:   0x808,
    		},
    		{
    			// Name is Japanese encoded in Shift JIS.
    			name:    "\x93\xfa\x96{\x8c\xea.txt",
    			comment: "in the 世界",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  10. internal/s3select/select.go

    			bufioWriterPool.Put(bufioWriter)
    		}()
    
    		bufioWriter.Reset(buf)
    		opts := sql.WriteCSVOpts{
    			FieldDelimiter: []rune(s3Select.Output.CSVArgs.FieldDelimiter)[0],
    			Quote:          []rune(s3Select.Output.CSVArgs.QuoteCharacter)[0],
    			QuoteEscape:    []rune(s3Select.Output.CSVArgs.QuoteEscapeCharacter)[0],
    			AlwaysQuote:    strings.EqualFold(s3Select.Output.CSVArgs.QuoteFields, "always"),
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
Back to top