Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,491 for findIn (0.14 sec)

  1. pkg/kubelet/preemption/preemption.go

    	}
    	// find the guaranteed pods we would need to evict if we already evicted ALL burstable and besteffort pods.
    	guaranteedToEvict, err := getPodsToPreemptByDistance(guaranteedPods, requirements.subtract(append(bestEffortPods, burstablePods...)...))
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 16:53:19 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            noIncludes()
            noImports()
        }
    
        def "finds quoted include"() {
            when:
            sourceFile << """
        #include "test.h"
    """
    
            then:
            includes == [new IncludeWithSimpleExpression('test.h', false, IncludeType.QUOTED)]
    
            and:
            noImports()
        }
    
        def "finds quoted include on first line of file"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder_test.go

    				Kind:  "MyNewCRD",
    			},
    		}, nil
    	}
    	finder := NewCRDFinder(getter)
    
    	if found, _ := finder.HasCRD(schema.GroupKind{Group: "crd.com", Kind: "MyCRD"}); !found {
    		t.Fatalf("Failed to find CRD MyCRD")
    	}
    	if found, _ := finder.HasCRD(schema.GroupKind{Group: "crd.com", Kind: "Random"}); found {
    		t.Fatalf("Found crd Random that doesn't exist")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/ldap.go

    		// We consider it as a login username and attempt to check it exists in
    		// the directory.
    		bindDN, err := l.LDAP.LookupUsername(conn, username)
    		if err != nil {
    			if strings.Contains(err.Error(), "User DN not found for") {
    				return nil, nil
    			}
    			return nil, fmt.Errorf("Unable to find user DN: %w", err)
    		}
    		return bindDN, nil
    	}
    
    	// Since the username parses as a valid DN, check that it exists and is
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 25 13:43:06 UTC 2024
    - 10.3K bytes
    - Viewed (1)
  5. src/cmd/compile/internal/ir/visit.go

    //			visit(x)
    //			return ir.DoChildren(x, do)
    //		}
    //		do(n)
    //	}
    //
    // The Any function illustrates a different simplification of the pattern,
    // visiting each node and then its children, recursively, until finding
    // a node x for which cond(x) returns true, at which point the entire
    // traversal stops and returns true.
    //
    //	func Any(n ir.Node, cond(ir.Node) bool) bool {
    //		if n == nil {
    //			return false
    //		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 23 14:29:16 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FilesFinder.java

    import java.io.File;
    import java.io.FileFilter;
    
    /**
     * Encapsulates a criteria for finding files.
     */
    public interface FilesFinder {
        /**
         * Find files according to this finder's criteria within the supplied base
         * directory that pass the supplied {@link FileFilter}.
         */
        Iterable<File> find(File baseDir, FileFilter filter);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1002 bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy

            deletedFiles == [file, parent]
        }
    
        FilesFinder finder(files) {
            Stub(FilesFinder) {
                find(_, _) >> { baseDir, filter ->
                    assert filter instanceof NonReservedFileFilter
                    files.findAll { filter.accept(it) }
                }
            }
        }
    
        AbstractCacheCleanup cleanupAction(FilesFinder finder, Spec<File> spec) {
            new AbstractCacheCleanup(finder) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. platforms/software/resources/src/main/java/org/gradle/internal/resource/local/CompositeLocallyAvailableResourceFinder.java

            List<LocallyAvailableResourceCandidates> allCandidates = new LinkedList<LocallyAvailableResourceCandidates>();
            for (LocallyAvailableResourceFinder<C> finder : composites) {
                allCandidates.add(finder.findCandidates(criterion));
            }
    
            return new CompositeLocallyAvailableResourceCandidates(allCandidates);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Comparators.java

      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 11 08:42:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt

    # because it cannot resolve x, y, and z simultaneously.
    ! go mod tidy
    
    cmp go.mod go.mod.orig
    
    stderr '^go: finding module for package example\.net/w$'
    stderr '^go: finding module for package example\.net/x$'
    stderr -count=2 '^go: finding module for package example\.net/y$'
    stderr -count=2 '^go: finding module for package example\.net/z$'
    stderr '^go: found example\.net/x in example\.net/x v0.1.0$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top