Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 2,396 for rfind (1.56 sec)

  1. subprojects/core/src/main/java/org/gradle/util/internal/NameMatcher.java

         *
         * @return The matching item if exactly 1 match found, null if no matches or multiple matches.
         * @see #find(String, Collection)
         */
        public <T> T find(String pattern, Map<String, ? extends T> items) {
            String name = find(pattern, items.keySet());
            if (name != null) {
                return items.get(name);
            }
            return null;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 10:15:47 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. src/net/http/mapping.go

    			h.m = map[K]V{}
    			for _, e := range h.s {
    				h.m[e.key] = e.value
    			}
    			h.s = nil
    		}
    		h.m[k] = v
    	}
    }
    
    // find returns the value corresponding to the given key.
    // The second return value is false if there is no value
    // with that key.
    func (h *mapping[K, V]) find(k K) (v V, found bool) {
    	if h == nil {
    		return v, false
    	}
    	if h.m != nil {
    		v, found = h.m[k]
    		return v, found
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 17:47:07 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/testFixtures/groovy/org/gradle/plugins/ide/eclipse/EclipseWtpComponentFixture.groovy

            def module = modules.find {
                def handle = it.node.@handle
                return handle.startsWith('module:/classpath/') && handle.endsWith(jarName)
            }
            assert module != null
            assert module.node."dependency-type"*.text() == ['uses']
            return module
        }
    
        WbModule project(String projectName) {
            def module = modules.find {
                def handle = it.node.@handle
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. hack/verify-netparse-cve.sh

    cd "${KUBE_ROOT}"
    
    rc=0
    
    find_files() {
      find . -not \( \
          \( \
            -wholename './.git' \
            -o -wholename './_output' \
            -o -wholename './release' \
            -o -wholename './target' \
            -o -wholename '*/third_party/*' \
            -o -wholename '*/vendor/*' \
          \) -prune \
        \) -name '*.go'
    }
    
    # find files using net.ParseIP()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/SnapshotWatchedDirectoryFinder.java

                if (candidate == null) {
                    // TODO Can this happen on Windows when a SUBST'd drive is unregistered?
                    throw new IllegalStateException("Couldn't find existing ancestor for " + path);
                }
                // TODO Use the VFS to find the ancestor instead
                if (candidate.isDirectory()) {
                    return candidate;
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathContainerAccessRuleCrossVersionSpec.groovy

                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    
            then:
            project.classpathContainers.find { it.path == 'classpathContainerPath' }.accessRules.isEmpty()
        }
    
        def "Has some access rules"() {
            buildFile <<
            """import org.gradle.plugins.ide.eclipse.model.AccessRule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryAccessRuleCrossVersionSpec.groovy

            file('src/main/java').mkdirs()
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
            EclipseSourceDirectory sourceDirectory = project.sourceDirectories.find { it.path == 'src/main/java' }
    
            then:
            sourceDirectory.accessRules.isEmpty()
        }
    
        def "Has some access rules defined"() {
            buildFile <<
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java-library/src/integTest/groovy/org/gradle/java/JavaLibraryConsumptionIntegrationTest.groovy

                    def compileClasspathNames = displayNamesOf(configurations.compileClasspath)
                    doLast {
                        assert runtimeClasspathNames.get().find { it == 'io.reactivex:rxjava:1.0.1' }
                        assert !compileClasspathNames.get().find { it == 'io.reactivex:rxjava:1.0.1' }
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 16:14:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressIntegTest.groovy

                    assert allLoggingProgress.details.logLevel == 'LIFECYCLE'
                }
            }
    
            def runBuildProgress = operations.only('Run build').progress
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:34 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r210/ToolingApiEclipseModelCrossVersionSpec.groovy

            EclipseProject rootProject = loadToolingModel(EclipseProject)
            EclipseProject subprojectA = rootProject.children.find { it.name == 'subproject-a' }
            EclipseProject subprojectB = rootProject.children.find { it.name == 'subproject-b' }
            EclipseProject subprojectC = rootProject.children.find { it.name == 'subproject-c' }
    
            then:
            subprojectA.javaSourceSettings.sourceLanguageLevel == JavaVersion.VERSION_1_1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top