Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for getUtil (0.12 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

            file("src/main/java/com/example/main/Main.java") << """
    package com.example.main;
    
    import com.example.util.Util;
    
    public class Main {
        public String getValue() {
            return "main " + Util.getUtil();
        }
    }
    """
    
            and:
            file("direct/build.gradle") << """
    import aQute.bnd.gradle.BundleTaskExtension
    
    plugins {
        id "java-library"
    }
    
    group = "com.example.util"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                    @Input
                    public long getGoodTime() {
                        return 0;
                    }
    
                    @Input
                    public MyUtil getUtil() { return new MyUtil(); }
    
                    @TaskAction public void execute() {}
                }
            """
    
            expect:
            assertValidationSucceeds()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependencies/HtmlDependencyReportTask.java

        @TaskAction
        public void generate() {
            if (!reports.getHtml().getRequired().get()) {
                setDidWork(false);
                return;
            }
    
            HtmlDependencyReporter reporter = new HtmlDependencyReporter(getVersionSelectorScheme(), getVersionComparator(), getVersionParser());
            reporter.render(projectsWithConfigurations.get(), reports.getHtml().getOutputLocation().getAsFile().get());
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/discovery/https/https.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package https
    
    import (
    	"io"
    	"net/http"
    	"time"
    
    	netutil "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/client-go/tools/clientcmd"
    	clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/discovery/file"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 24 04:29:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/main/java/org/gradle/internal/jacoco/AntJacocoReport.java

        }
    
        @Override
        protected void configureReport(GroovyObjectSupport antBuilder, JacocoReportsContainer reports) {
            if (reports.getHtml().getRequired().get()) {
                antBuilder.invokeMethod("html", new Object[]{
                    ImmutableMap.<String, Object>of("destdir", reports.getHtml().getOutputLocation().getAsFile().get())
                });
            }
            if (reports.getXml().getRequired().get()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:19:29 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprog/lockosthread.go

    		runtime.LockOSThread()
    		if mainTID != 0 && gettid() != mainTID {
    			println("failed to start goroutine on main thread")
    			os.Exit(1)
    		}
    		// Exit with the thread locked, which should exit the
    		// main thread.
    		ready <- true
    	}()
    	<-ready
    	time.Sleep(1 * time.Millisecond)
    	// Check that this goroutine is still running on a different
    	// thread.
    	if mainTID != 0 && gettid() == mainTID {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. platforms/software/reporting/src/main/java/org/gradle/api/reporting/GenerateBuildDashboard.java

            return reports;
        }
    
        @TaskAction
        void run() {
            if (getReports().getHtml().getRequired().get()) {
                BuildDashboardGenerator generator = new BuildDashboardGenerator();
                generator.render(getEnabledInputReports(), reports.getHtml().getEntryPoint());
            } else {
                setDidWork(false);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:30:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. pkg/dns/server/name_table.go

    package server
    
    import (
    	"strings"
    
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/serviceregistry/provider"
    	"istio.io/istio/pkg/config/constants"
    	dnsProto "istio.io/istio/pkg/dns/proto"
    	netutil "istio.io/istio/pkg/util/net"
    )
    
    // Config for building the name table.
    type Config struct {
    	Node *model.Proxy
    	Push *model.PushContext
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. pkg/kubelet/util/manager/cache_based_manager.go

    	clock     clock.Clock
    
    	lock  sync.Mutex
    	items map[objectKey]*objectStoreItem
    
    	defaultTTL time.Duration
    	getTTL     GetObjectTTLFunc
    }
    
    // NewObjectStore returns a new ttl-based instance of Store interface.
    func NewObjectStore(getObject GetObjectFunc, clock clock.Clock, getTTL GetObjectTTLFunc, ttl time.Duration) Store {
    	return &objectStore{
    		getObject:  getObject,
    		clock:      clock,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    func (s *SpdyRoundTripper) dialWithSocks5Proxy(req *http.Request, proxyURL *url.URL) (net.Conn, error) {
    	// ensure we use a canonical host with proxyReq
    	targetHost := netutil.CanonicalAddr(req.URL)
    	proxyDialAddr := netutil.CanonicalAddr(proxyURL)
    
    	var auth *proxy.Auth
    	if proxyURL.User != nil {
    		pass, _ := proxyURL.User.Password()
    		auth = &proxy.Auth{
    			User:     proxyURL.User.Username(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
Back to top