Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 898 for findRef (0.15 sec)

  1. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitFileRepository.java

            return git.tag().setName(tagName).setAnnotated(true).setMessage(message).call();
        }
    
        public Ref getHead() throws IOException {
            return git.getRepository().findRef("HEAD");
        }
    
        @Override
        public TestFile getWorkTree() {
            return new TestFile(git.getRepository().getWorkTree());
        }
    
        @Override
        public TestFile file(Object... path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git.go

    	info.Origin.Hash = refs["HEAD"]
    
    	return info, nil
    }
    
    // findRef finds some ref name for the given hash,
    // for use when the server requires giving a ref instead of a hash.
    // There may be multiple ref names for a given hash,
    // in which case this returns some name - it doesn't matter which.
    func (r *gitRepo) findRef(ctx context.Context, hash string) (ref string, ok bool) {
    	refs, err := r.loadRefs(ctx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder_test.go

    func TestCacheCRDFinder(t *testing.T) {
    	called := 0
    	getter := func() ([]schema.GroupKind, error) {
    		called += 1
    		return nil, nil
    	}
    	finder := NewCRDFinder(getter)
    	if called != 0 {
    		t.Fatalf("Creating the finder shouldn't call the getter, has called = %v", called)
    	}
    	_, err := finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"})
    	if err != nil {
    		t.Fatalf("Failed to call HasCRD: %v", err)
    	}
    	if called != 1 {
    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. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/utils/utils.kt

        for (finder in PsiElementFinder.EP.getPoint(project).extensionList) {
            if (finder::class.java.name == KOTLIN_JAVA_ELEMENT_FINDER_CLASS_NAME) {
                continue
            }
            action(finder)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 798 bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/TypeSafeProjectDependencyFactory.java

        private final ProjectFinder finder;
    
        protected TypeSafeProjectDependencyFactory(DefaultProjectDependencyFactory factory, ProjectFinder finder) {
            this.factory = factory;
            this.finder = finder;
        }
    
        protected ProjectDependencyInternal create(String path) {
            return (ProjectDependencyInternal) factory.create(finder.getProject(path));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. 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)
  7. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

      private val finder = FastFallbackExchangeFinder(routePlanner, taskRunner)
    
      @AfterEach
      fun tearDown() {
        taskFaker.close()
        routePlanner.close()
      }
    
      @Test
      fun takeConnectedConnection() {
        val plan0 = routePlanner.addPlan()
        plan0.connectState = TLS_CONNECTED
    
        taskRunner.newQueue().execute("connect") {
          val result0 = finder.find()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. src/internal/runtime/atomic/atomic_arm64.s

    //	old := *ptr;
    //	*ptr = new;
    //	return old;
    TEXT ·Xchg(SB), NOSPLIT, $0-20
    	MOVD	ptr+0(FP), R0
    	MOVW	new+8(FP), R1
    #ifndef GOARM64_LSE
    	MOVBU	internal∕cpu·ARM64+const_offsetARM64HasATOMICS(SB), R4
    	CBZ 	R4, load_store_loop
    #endif
    	SWPALW	R1, (R0), R2
    	MOVW	R2, ret+16(FP)
    	RET
    #ifndef GOARM64_LSE
    load_store_loop:
    	LDAXRW	(R0), R2
    	STLXRW	R1, (R0), R3
    	CBNZ	R3, load_store_loop
    	MOVW	R2, ret+16(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit_intl.h

     */
    /** @addtogroup Framework
     * @{
     */
    
    #ifndef CUNIT_CUNIT_INTL_H_SEEN
    #define CUNIT_CUNIT_INTL_H_SEEN
    
    /* activate these when source preparation is complete
    #include <libintl.h>
    #ifndef _
    #  define _(String) gettext (String)
    #endif
    #ifndef gettext_noop
    #  define gettext_noop(String) String
    #endif
    #ifndef N_
    #  define N_(String) gettext_noop (String)
    #endif
    */
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. subprojects/core-api/src/test/groovy/org/gradle/initialization/DistributionInitScriptFinderTest.groovy

        final def distDir = tmpDir.createDir("gradle-home")
        final DistributionInitScriptFinder finder = new DistributionInitScriptFinder(distDir)
    
        def setup() {
        }
    
        def "does nothing when init.d directory does not exist there is no distribution"() {
            def scripts = []
    
            when:
            finder.findScripts(scripts)
    
            then:
            scripts.empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 2K bytes
    - Viewed (0)
Back to top