Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 151 for Butcher (0.24 sec)

  1. cni/pkg/install/cniconfig.go

    		if len(filename) == 0 {
    			filename = "YYY-istio-cni.conf"
    		}
    		return filepath.Join(cfg.mountedCNINetDir, filename), nil
    	}
    
    	watcher, err := util.CreateFileWatcher(cfg.mountedCNINetDir)
    	if err != nil {
    		return "", err
    	}
    	defer watcher.Close()
    
    	for len(filename) == 0 {
    		filename, err = getDefaultCNINetwork(cfg.mountedCNINetDir)
    		if err == nil {
    			break
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java

    package org.apache.maven.project;
    
    import org.apache.maven.model.building.ModelProblem;
    import org.hamcrest.BaseMatcher;
    import org.hamcrest.Description;
    import org.hamcrest.Matcher;
    
    import static java.util.stream.Collectors.joining;
    
    /**
     * Hamcrest matcher to help create fluent assertions about {@link ProjectBuildingResult} instances.
     */
    class ProjectBuildingResultWithProblemMessageMatcher extends BaseMatcher<ProjectBuildingResult> {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Platform.java

    @ElementTypesAreNonnullByDefault
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
      private Platform() {}
    
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        return matcher.precomputedInternal();
      }
    
      static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. istioctl/pkg/wait/wait.go

    		}
    
    		return nil
    	})
    	return g
    }
    
    type watcher struct {
    	resultsChan chan string
    	errorChan   chan error
    	ctx         context.Context
    }
    
    func withContext(ctx context.Context) *watcher {
    	return &watcher{
    		resultsChan: make(chan string, 1),
    		errorChan:   make(chan error, 1),
    		ctx:         ctx,
    	}
    }
    
    func (w *watcher) Go(f func(chan string) error) {
    	go func() {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Splitter.java

        checkArgument(
            !separatorPattern.matcher("").matches(),
            "The pattern may not match the empty string: %s",
            separatorPattern);
    
        return new Splitter(
            new Strategy() {
              @Override
              public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
                final CommonMatcher matcher = separatorPattern.matcher(toSplit);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/stringfuncs.go

    		return strings.HasSuffix(text, string(s)), nil
    	}
    	return string(s) == text, nil
    }
    
    // matcher - Finds `pat` in `text`, and returns the part remainder of
    // `text`, after the match. If leadingPercent is false, `pat` must be
    // the prefix of `text`, otherwise it must be a substring.
    func matcher(text, pat string, leadingPercent bool) (res string, match bool) {
    	if !leadingPercent {
    		res = strings.TrimPrefix(text, pat)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  7. internal/s3select/sql/stringfuncs_test.go

    		{"abcd", "bc", false, "", false},
    		{"abcd", "bc", true, "d", true},
    	}
    
    	for i, tc := range matcherCases {
    		res, ok := matcher(tc.iText, tc.iPat, tc.iHasLeadingPercent)
    		if res != tc.resultExpected || ok != tc.matchExpected {
    			t.Errorf("Matcher Case %d failed", i)
    		}
    	}
    
    	evalCases := []struct {
    		iText, iPat   string
    		iEsc          rune
    		matchExpected bool
    		errExpected   error
    	}{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  8. cni/pkg/install/install.go

    		}
    	}
    	targets := append(
    		binPaths,
    		in.cfg.MountedCNINetDir,
    		constants.ServiceAccountPath,
    	)
    	// Create file watcher before checking for installation
    	// so that no file modifications are missed while and after checking
    	// note: we create a file watcher for each invocation, otherwise when we write to the directories
    	// we would get infinite looping of events
    	//
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                        }
                        continue;
                    }
    
                    String[] inputs;
                    String output;
    
                    final Matcher m = parsePattern.matcher(replacedLine);
    
                    if (!m.find()) {
                        logger.warn("Failed to parse {} in {}", line, path);
                        if (updater != null) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                location = "missing";
            } else {
                return;
            }
    
            if (hasProjectExpression(path)) {
                Matcher matcher = EXPRESSION_PROJECT_NAME_PATTERN.matcher(path);
                while (matcher.find()) {
                    String propertyName = matcher.group(0);
                    if (!"${project.basedir}".equals(propertyName)) {
                        addViolation(
                                problems,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 65K bytes
    - Viewed (0)
Back to top