Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testprofile (2.04 sec)

  1. src/cmd/go/internal/test/test.go

    	testBlockProfile, testCPUProfile, testMemProfile, testMutexProfile, testTrace string // profiling flag that limits test to one package
    
    	testODir = false
    )
    
    // testProfile returns the name of an arbitrary single-package profiling flag
    // that is set, if any.
    func testProfile() string {
    	switch {
    	case testBlockProfile != "":
    		return "-blockprofile"
    	case testCPUProfile != "":
    		return "-cpuprofile"
    	case testMemProfile != "":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  2. pkg/apis/core/validation/validation_test.go

    			return
    		}
    	}
    }
    
    func TestValidateSeccompAnnotationAndField(t *testing.T) {
    	const containerName = "container"
    	testProfile := "test"
    
    	for _, test := range []struct {
    		description string
    		pod         *core.Pod
    		validation  func(*testing.T, string, field.ErrorList, *v1.Pod)
    	}{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  3. src/cmd/pprof/pprof.go

    	}
    	fmt.Fprintln(os.Stderr, "Fetching profile over HTTP from", sourceURL)
    	if duration > 0 {
    		fmt.Fprintf(os.Stderr, "Please wait... (%v)\n", duration)
    	}
    	p, err := getProfile(sourceURL, timeout)
    	return p, sourceURL, err
    }
    
    func getProfile(source string, timeout time.Duration) (*profile.Profile, error) {
    	url, err := url.Parse(source)
    	if err != nil {
    		return nil, err
    	}
    
    	var tlsConfig *tls.Config
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/helpers.go

    		ProfileType: runtimeapi.SecurityProfile_Unconfined,
    	}, nil
    }
    
    func getAppArmorProfile(pod *v1.Pod, container *v1.Container) (*runtimeapi.SecurityProfile, string, error) {
    	profile := apparmor.GetProfile(pod, container)
    	if profile == nil {
    		return nil, "", nil
    	}
    
    	var (
    		securityProfile   *runtimeapi.SecurityProfile
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. operator/pkg/verifier/verifier.go

    			by := util.ToYAML(un)
    			unmergedIOP, err := operator_istio.UnmarshalIstioOperator(by, true)
    			if err != nil {
    				v.reportFailure(kind, name, namespace, err)
    				return err
    			}
    			profile := manifest.GetProfile(unmergedIOP)
    			iop, err := manifest.GetMergedIOP(by, profile, v.manifestsPath, v.controlPlaneOpts.Revision,
    				v.client, v.logger)
    			if err != nil {
    				v.reportFailure(kind, name, namespace, err)
    				return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

            return projectDir;
        }
    
        /**
         * Specifies if a profile report should be generated.
         *
         * @param profile true if a profile report should be generated
         */
        public void setProfile(boolean profile) {
            this.profile = profile;
        }
    
        /**
         * Returns true if a profile report will be generated.
         */
        public boolean isProfile() {
            return profile;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/values_types.pb.go

    		return x.RevisionTags
    	}
    	return nil
    }
    
    func (x *Values) GetDefaultRevision() string {
    	if x != nil {
    		return x.DefaultRevision
    	}
    	return ""
    }
    
    func (x *Values) GetProfile() string {
    	if x != nil {
    		return x.Profile
    	}
    	return ""
    }
    
    func (x *Values) GetCompatibilityVersion() string {
    	if x != nil {
    		return x.CompatibilityVersion
    	}
    	return ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 329.6K bytes
    - Viewed (0)
Back to top