Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for Brunei (0.18 sec)

  1. src/bytes/buffer_test.go

    		}
    	})
    	if n > 0 {
    		t.Errorf("allocations occurred while appending")
    	}
    }
    
    func TestRuneIO(t *testing.T) {
    	const NRune = 1000
    	// Built a test slice while we write the data
    	b := make([]byte, utf8.UTFMax*NRune)
    	var buf Buffer
    	n := 0
    	for r := rune(0); r < NRune; r++ {
    		size := utf8.EncodeRune(b[n:], r)
    		nbytes, err := buf.WriteRune(r)
    		if err != nil {
    			t.Fatalf("WriteRune(%U) error: %s", r, err)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        .map(p -> prune(Profile.newBuilder(p, true), p).build())
                        .collect(Collectors.toList()));
    
                model = builder.build();
                String modelVersion = new MavenModelVersion().getModelVersion(model);
                model = model.withModelVersion(modelVersion);
            } else {
                Model.Builder builder = prune(
                        Model.newBuilder(model, true)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  3. istioctl/pkg/dashboard/dashboard.go

    		Short: "Open Prometheus web UI",
    		Long:  `Open Istio's Prometheus dashboard`,
    		Example: `  istioctl dashboard prometheus
    
      # with short syntax
      istioctl dash prometheus
      istioctl d prometheus`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  4. .github/workflows/multipart/migrate.sh

    	docker-compose -f docker-compose-site2.yaml rm -s -f || true
    	for volume in $(docker volume ls -q | grep minio); do
    		docker volume rm ${volume} || true
    	done
    
    	docker system prune -f || true
    	docker volume prune -f || true
    	docker volume rm $(docker volume ls -q -f dangling=true) || true
    }
    
    cleanup
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/unicode/utf16/44940.md

    The [RuneLen] function returns the number of 16-bit words in
    the UTF-16 encoding of the rune. It returns -1 if the rune
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 162 bytes
    - Viewed (0)
  6. istioctl/pkg/waypoint/waypoint.go

    		Use:   "generate",
    		Short: "Generate a waypoint configuration",
    		Long:  "Generate a waypoint configuration as YAML",
    		Example: `  # Generate a waypoint as yaml
      istioctl x waypoint generate --namespace default`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			gw, err := makeGateway(false)
    			if err != nil {
    				return fmt.Errorf("failed to create gateway: %v", err)
    			}
    			b, err := yaml.Marshal(gw)
    			if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    </pre>
    </li>
    
    <li>
    Converting a slice of runes to a string type yields
    a string that is the concatenation of the individual rune values
    converted to strings.
    
    <pre>
    string([]rune{0x767d, 0x9d6c, 0x7fd4})   // "\u767d\u9d6c\u7fd4" == "白鵬翔"
    string([]rune{})                         // ""
    string([]rune(nil))                      // ""
    
    type MyRunes []rune
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  9. 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 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. buildscripts/minio-upgrade.sh

    #!/bin/bash
    
    trap 'cleanup $LINENO' ERR
    
    # shellcheck disable=SC2120
    cleanup() {
    	MINIO_VERSION=dev docker-compose \
    		-f "buildscripts/upgrade-tests/compose.yml" \
    		rm -s -f
    	docker volume prune -f
    }
    
    verify_checksum_after_heal() {
    	local sum1
    	sum1=$(curl -s "$2" | sha256sum)
    	mc admin heal --json -r "$1" >/dev/null # test after healing
    	local sum1_heal
    	sum1_heal=$(curl -s "$2" | sha256sum)
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 11:39:55 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top