Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for firstDir (0.28 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

        }
    
        def "keeps watching outermost hierarchy until there is no content left"() {
            def firstDir = file("first").createDir()
            def secondDir = file("second").createDir()
            def directoryWithinFirst = file("first/within").createDir()
    
            registerWatchableHierarchies([directoryWithinFirst, firstDir, secondDir])
    
            when:
            addSnapshotInWatchableHierarchy(secondDir)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt

                """
                package plugins
                """
            )
    
    
            val firstDir = existing(firstLocation)
            val secondDir = newDir(secondLocation)
            firstDir.copyRecursively(secondDir)
    
            val cachedTasks = listOf(
                ":extractPrecompiledScriptPluginPlugins",
                ":generateExternalPluginSpecBuilders",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 10:30:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/PrecompiledGroovyPluginsIntegrationTest.groovy

            def cacheDir = createDir("cache-dir")
    
            def firstDir = createDir("first-location")
            firstDir.file("settings.gradle") << """
                rootProject.name = "test"
                buildCache {
                    local {
                        directory = file("../${cacheDir.name}")
                    }
                }
            """
            firstDir.file("buildSrc/build.gradle") << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIntegrationTest.groovy

            install.exec().out == helloWorldApp.frenchOutput
        }
    
        @ToBeFixedForConfigurationCache
        def "link order is stable across project directories for the same sources"() {
            def firstCopy = file("firstDir")
            def secondCopy = file("secondDir")
            [ firstCopy, secondCopy ].each { projectDir ->
                projectDir.file("settings.gradle").touch()
                def buildFile = projectDir.file("build.gradle")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

      OpBuilder builder(first_if);
      builder.setInsertionPoint(if_op_segment.back().getOperation());
    
      auto new_if_op = builder.create<TF::IfRegionOp>(
          first_if.getLoc(), merged_return_types, first_if.getCond(),
          llvm::all_of(if_op_segment,
                       [&](TF::IfRegionOp op) { return op.getIsStateless(); }),
          first_if.get_thenFuncNameAttr(), first_if.get_elseFuncNameAttr());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  6. src/crypto/x509/root_unix.go

    		if err != nil {
    			if firstErr == nil && !os.IsNotExist(err) {
    				firstErr = err
    			}
    			continue
    		}
    		for _, fi := range fis {
    			data, err := os.ReadFile(directory + "/" + fi.Name())
    			if err == nil {
    				roots.AppendCertsFromPEM(data)
    			}
    		}
    	}
    
    	if roots.len() > 0 || firstErr == nil {
    		return roots, nil
    	}
    
    	return nil, firstErr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:54:07 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/net/listen_test.go

    			tt.xerr = nil
    		}
    		var firstErr, secondErr error
    		for i := 0; i < 5; i++ {
    			lns, err := newDualStackListener()
    			if err != nil {
    				t.Fatal(err)
    			}
    			port := lns[0].port()
    			for _, ln := range lns {
    				ln.Close()
    			}
    			var ln1 Listener
    			ln1, firstErr = Listen(tt.network1, JoinHostPort(tt.address1, port))
    			if firstErr != nil {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  8. src/cmd/go/internal/trace/trace.go

    	f.sb.Reset()
    	return err
    }
    
    func (t *tracer) Close() error {
    	f := <-t.file
    	defer func() { t.file <- f }()
    
    	_, firstErr := f.f.WriteString("]")
    	if err := f.f.Close(); firstErr == nil {
    		firstErr = err
    	}
    	return firstErr
    }
    
    func (t *tracer) getNextTID() uint64 {
    	return t.nextTID.Add(1)
    }
    
    func (t *tracer) getNextFlowID() uint64 {
    	return t.nextFlowID.Add(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  9. src/time/zoneinfo_read.go

    func loadLocation(name string, sources []string) (z *Location, firstErr error) {
    	for _, source := range sources {
    		zoneData, err := loadTzinfo(name, source)
    		if err == nil {
    			if z, err = LoadLocationFromTZData(name, zoneData); err == nil {
    				return z, nil
    			}
    		}
    		if firstErr == nil && err != syscall.ENOENT {
    			firstErr = err
    		}
    	}
    	if loadFromEmbeddedTZData != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. pkg/kubelet/userns/userns_manager.go

    func (m *UsernsManager) allocateOne(pod types.UID) (firstID uint32, length uint32, err error) {
    	firstZero, found, err := m.used.AllocateNext()
    	if err != nil {
    		return 0, 0, err
    	}
    	if !found {
    		return 0, 0, fmt.Errorf("could not find an empty slot to allocate a user namespace")
    	}
    
    	klog.V(5).InfoS("new pod user namespace allocation", "podUID", pod)
    
    	firstID = uint32((firstZero + m.off) * userNsLength)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top