Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,121 for Checking (0.18 sec)

  1. platforms/documentation/docs/src/snippets/multiproject/dependencies-java/kotlin/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java

    package org.gradle.sample.services;
    
    import org.gradle.sample.api.Person;
    import org.gradle.sample.shared.Helper;
    
    public class PersonService {
        boolean checkPerson(Person person) {
            System.out.println(Helper.prettyPrint("Checking"));
            if (person.getFirstname().length() < 2) {
                return false;
            }
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 360 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go

    // "/livez" to mux. *All handlers* for mux must be specified in
    // exactly one call to InstallHandler. Calling InstallHandler more
    // than once for the same mux will result in a panic.
    func InstallLivezHandler(mux mux, checks ...HealthChecker) {
    	InstallPathHandler(mux, "/livez", checks...)
    }
    
    // InstallPathHandler registers handlers for health checking on
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/multiproject/basic-dependencies/groovy/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java

    package org.gradle.sample.services;
    
    import org.gradle.sample.api.Person;
    import org.gradle.sample.shared.Helper;
    
    public class PersonService {
        boolean checkPerson(Person person) {
            System.out.println(Helper.prettyPrint("Checking"));
            if (person.getFirstname().length() < 2) {
                return false;
            }
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 24 23:29:44 UTC 2024
    - 360 bytes
    - Viewed (0)
  4. pkg/kubelet/cm/containermap/container_map_test.go

    			[]string{"fakeContainerName-1", "fakeContainerName-2"},
    			[]string{"fakeContainerID-1", "fakeContainerName-2"},
    		},
    	}
    
    	for _, tc := range testCases {
    		// Build a new containerMap from the testCases, checking proper
    		// addition, retrieval along the way.
    		cm := NewContainerMap()
    		for i := range tc.containerNames {
    			cm.Add(tc.podUID, tc.containerNames[i], tc.containerIDs[i])
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 13:40:55 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. pkg/volume/flexvolume/detacher.go

    	if !pathExists {
    		klog.Warningf("Warning: Unmount skipped because path does not exist: %v", deviceMountPath)
    		return nil
    	}
    	if pathErr != nil && !mount.IsCorruptedMnt(pathErr) {
    		return fmt.Errorf("error checking path: %w", pathErr)
    	}
    
    	notmnt, err := isNotMounted(d.plugin.host.GetMounter(d.plugin.GetPluginName()), deviceMountPath)
    	if err != nil {
    		if mount.IsCorruptedMnt(err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/gretty-example/src/main/java/org/gradle/sample/Greeter.java

    package org.gradle.sample;
    
    import java.io.InputStream;
    import org.apache.log4j.LogManager;
    
    public class Greeter {
        public String getGreeting() throws Exception {
            LogManager.getRootLogger().info("Just checking if we can use external dependencies....");
            return "hello Gradle";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 304 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/multiproject/dependencies-java/groovy/services/person-service/src/main/java/org/gradle/sample/services/PersonService.java

    package org.gradle.sample.services;
    
    import org.gradle.sample.api.Person;
    import org.gradle.sample.shared.Helper;
    
    public class PersonService {
        boolean checkPerson(Person person) {
            System.out.println(Helper.prettyPrint("Checking"));
            if (person.getFirstname().length() < 2) {
                return false;
            }
            return true;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 360 bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/validate-external-gradle-plugin.gradle.kts

    import java.net.URISyntaxException
    import java.net.URL
    import java.util.stream.Collectors
    
    /**
     * Validates external plugins applied to a build, by checking property annotations
     * on work items like tasks and artifact transforms.
     * This is similar to [ValidatePlugins] but instead of checking the plugins *written in* the current build,
     * it checks the plugins *applied to* the current build.
     */
    gradle.beforeProject {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. test/fixedbugs/issue12536.go

    // compile
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 12536: compiler crashes while checking keys in a map literal for equality
    
    package p
    
    func main() {
    	m1 := map[interface{}]interface{}{
    		nil:  0,
    		true: 1,
    	}
    	m2 := map[interface{}]interface{}{
    		true: 1,
    		nil:  0,
    	}
    	println(len(m1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 14:16:09 UTC 2017
    - 441 bytes
    - Viewed (0)
  10. src/cmd/vet/testdata/httpresponse/httpresponse.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	defer res.Body.Close()
    }
    
    func badHTTPGet() {
    	res, err := http.Get("http://foo.com")
    	defer res.Body.Close() // ERROR "using res before checking for errors"
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 26 21:34:18 UTC 2021
    - 509 bytes
    - Viewed (0)
Back to top