Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,234 for findBy (0.26 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        }
    
        @Override
        public Optional<Lifecycle> lookup(String id) {
            return stream().filter(lf -> Objects.equals(id, lf.id())).findAny();
        }
    
        @Named
        @Singleton
        public static class LifecycleWrapperProvider implements LifecycleProvider {
            private final PlexusContainer container;
    
            @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. hack/verify-gofmt.sh

            -o -wholename '*/testdata/*' \
            -o -wholename '*/bindata.go' \
          \) -prune \
        \) -name '*.go'
    }
    
    # gofmt exits with non-zero exit code if it finds a problem unrelated to
    # formatting (e.g., a file does not parse correctly). Without "|| true" this
    # would have led to no useful error message from gofmt, because the script would
    # have failed before getting to the "echo" in the block below.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:31 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/mod/rsc.io_sampler_v1.3.0.txt

    		}
    		tag := language.Make(f[1])
    		tags = append(tags, tag)
    		t.byTag[tag.String()] = f[2]
    	}
    	t.matcher = language.NewMatcher(tags)
    	return t
    }
    
    // find finds the text to use for the given language tag preferences.
    func (t *text) find(prefs []language.Tag) string {
    	tag, _, _ := t.matcher.Match(prefs...)
    	s := t.byTag[tag.String()]
    	if strings.HasPrefix(s, "RTL ") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 10 00:47:06 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  4. finisher_api.go

    		}
    	}
    	tx.Statement.RaiseErrorOnNotFound = true
    	tx.Statement.Dest = dest
    	return tx.callbacks.Query().Execute(tx)
    }
    
    // Find finds all records matching given conditions conds
    func (db *DB) Find(dest interface{}, conds ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	if len(conds) > 0 {
    		if exprs := tx.Statement.BuildCondition(conds[0], conds[1:]...); len(exprs) > 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/mod/rsc.io_sampler_v1.3.1.txt

    		}
    		tag := language.Make(f[1])
    		tags = append(tags, tag)
    		t.byTag[tag.String()] = f[2]
    	}
    	t.matcher = language.NewMatcher(tags)
    	return t
    }
    
    // find finds the text to use for the given language tag preferences.
    func (t *text) find(prefs []language.Tag) string {
    	tag, _, _ := t.matcher.Match(prefs...)
    	s := t.byTag[tag.String()]
    	if strings.HasPrefix(s, "RTL ") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  6. src/internal/trace/testdata/generators/go122-fail-first-gen-first.go

    // license that can be found in the LICENSE file.
    
    // Regression test for #55160.
    //
    // The issue is that the parser reads ahead to the first batch of the
    // next generation to find generation boundaries, but if it finds an
    // error, it needs to delay handling that error until later. Previously
    // it would handle that error immediately and a totally valid generation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenScopeTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.test.fixtures.maven
    
    import spock.lang.Specification
    
    class MavenScopeTest extends Specification {
    
        def "finds expected dependency"() {
            given:
            MavenDependency givenMavenDependency = new MavenDependency(groupId: 'org.gradle', artifactId: 'test', version: '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. cni/pkg/repair/netns.go

    			// Unexpected... we will use it, but only if we find nothing without errors
    			log.Warnf("failed to read proc %v stats: %v", p.PID, err)
    			if best == "" {
    				best = ns
    			}
    			continue
    		}
    		// Get the oldest one.
    		if s.Starttime < oldest {
    			oldest = s.Starttime
    			best = ns
    		}
    	}
    	if best == "" {
    		return "", fmt.Errorf("failed to find network namespace")
    	}
    	return best, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationContainerSpec.groovy

            compile.incoming.path == ":compile"
            compile instanceof DefaultConfiguration
    
            and:
            configurationContainer.getByName("compile") == compile
    
            //finds configurations
            configurationContainer.findByName("compile") == compile
            configurationContainer.findByName("foo") == null
            configurationContainer.findAll { it.name == "compile" } as Set == [compile] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/runtime/traceback_system_test.go

    // this value as observed by calls in two different processes of the
    // same executable tells us the relative offset of their text segments.
    //
    // It would be nice if SetCrashOutput took care of this as it's fiddly
    // and likely to confuse every user at first.
    func sentinel() uint64 {
    	return uint64(reflect.ValueOf(sentinel).Pointer())
    }
    
    func writeSentinel(out io.Writer) {
    	fmt.Fprintf(out, "sentinel %x\n", sentinel())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top