Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,363 for cmutil (0.18 sec)

  1. test/fixedbugs/issue22662b.go

    	{"/*line foo.go:10:4*/", "foo.go:10:4:"},
    	{"/*line foo.go:10:4*/\n", "foo.go:11:1:"},
    }
    
    func main() {
    	f, err := ioutil.TempFile("", "issue22662b.go")
    	if err != nil {
    		log.Fatal(err)
    	}
    	f.Close()
    	defer os.Remove(f.Name())
    
    	for _, test := range tests {
    		if err := ioutil.WriteFile(f.Name(), []byte(test.src), 0660); err != nil {
    			log.Fatal(err)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. test/fixedbugs/issue46234.go

    	if err != nil {
    		panic("bad")
    	}
    	println(nnr.eE)
    	gpi = pi
    }
    `
    
    func main() {
    	dir, err := ioutil.TempDir("", "46234")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer os.RemoveAll(dir)
    
    	file := filepath.Join(dir, "main.go")
    	if err := ioutil.WriteFile(file, []byte(prog), 0655); err != nil {
    		log.Fatalf("Write error %v", err)
    	}
    
    	cmd := exec.Command("go", "run", file)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/util/util.go

    	istionetworking "istio.io/istio/pilot/pkg/networking"
    	"istio.io/istio/pilot/pkg/serviceregistry/util/label"
    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/config"
    	kubelabels "istio.io/istio/pkg/kube/labels"
    	"istio.io/istio/pkg/log"
    	pm "istio.io/istio/pkg/model"
    	"istio.io/istio/pkg/proto/merge"
    	"istio.io/istio/pkg/util/strcase"
    	"istio.io/istio/pkg/wellknown"
    )
    
    const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/init/kubelet.go

    	"k8s.io/klog/v2"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	kubeletphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/kubelet"
    )
    
    var (
    	kubeletStartPhaseExample = cmdutil.Examples(`
    		# Writes a dynamic environment file with kubelet flags from a InitConfiguration file.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 20 09:18:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. cluster/get-kube-binaries.sh

      if [[ -o xtrace ]]; then
        trace_on="on"
        set +x
      fi
      url="${DOWNLOAD_URL_PREFIX}/${file}"
      mkdir -p "${download_path}"
    
      if [[ $(which gsutil) ]] && [[ "$url" =~ ^https://storage.googleapis.com/.* ]]; then
        gsutil cp "${url//'https://storage.googleapis.com/'/gs://}" "${download_path}/${file}"
      elif [[ $(which curl) ]]; then
        # if the url belongs to GCS API we should use oauth2_token in the headers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 10:57:41 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

        bundle.bnd("-exportcontents": "com.example.util.*")
    
        doLast(bundle.buildAction())
    }
    """
    
            file("direct/src/main/java/com/example/util/Util.java") << """
    package com.example.util;
    
    public class Util {
        public static String getUtil() {
            return "util";
        }
    }
    """
    
            when:
            runner("jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. pkg/volume/util/subpath/subpath_linux_test.go

    			true,
    		},
    		{
    			"non-directory",
    			func(base string) error {
    				return ioutil.WriteFile(filepath.Join(base, "test"), []byte{}, defaultPerm)
    			},
    			"test/directory",
    			"",
    			defaultPerm,
    			true,
    		},
    		{
    			"non-directory-final",
    			func(base string) error {
    				return ioutil.WriteFile(filepath.Join(base, "test"), []byte{}, defaultPerm)
    			},
    			"test",
    			"",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue19658.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    const fn = `
    package main
    
    import  "errors"
    type S struct {
    
    }
    func (s S) String() string {
    	return "s-stringer"
    }
    func main() {
     	_ = errors.New
      panic(%s(%s))
    }
    `
    
    func main() {
    	tempDir, err := ioutil.TempDir("", "")
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. tests/integration/security/sds_ingress/util/util.go

    //  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    //  See the License for the specific language governing permissions and
    //  limitations under the License.
    
    package util
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    	"time"
    
    	"github.com/hashicorp/go-multierror"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/errors"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/join/preflight.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/phases/certs"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    )
    
    var (
    	preflightExample = cmdutil.Examples(`
    		# Run join pre-flight checks using a config file.
    		kubeadm join phase preflight --config kubeadm-config.yaml
    		`)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top