- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,138 for checkLine (0.31 sec)
-
src/io/ioutil/ioutil_test.go
// license that can be found in the LICENSE file. package ioutil_test import ( "bytes" . "io/ioutil" "os" "path/filepath" "runtime" "testing" ) func checkSize(t *testing.T, path string, size int64) { dir, err := os.Stat(path) if err != nil { t.Fatalf("Stat %q (looking for size %d): %s", path, size, err) } if dir.Size() != size {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 3.2K bytes - Viewed (0) -
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) -
src/testing/fstest/testfs.go
return strings.Compare(fa[1]+" "+fb[0], fb[1]+" "+fa[0]) }) t.errorf("%s: diff %s:\n\t%s", dir, desc, strings.Join(diffs, "\n\t")) } // checkFile checks that basic file reading works correctly. func (t *fsTester) checkFile(file string) { t.files = append(t.files, file) // Read entire file. f, err := t.fsys.Open(file) if err != nil { t.errorf("%s: Open: %w", file, err) return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/BaseBuildScanPluginCheckInFixture.groovy
def result = checkInService.checkIn(pluginMetadata, serviceFactory) if (result.unsupportedMessage == null) { println "${propertyPrefix}.checkIn.supported" settings.gradle.extensions.add("serviceRef", result.pluginServiceRef) } else { println "${propertyPrefix}.checkIn.unsupported.reasonMessage = \$result.unsupportedMessage"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 11:17:11 UTC 2024 - 11.1K bytes - Viewed (0) -
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)