Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 267 for gomod (0.05 sec)

  1. istioctl/pkg/kubeinject/google.go

    package kubeinject
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"strings"
    
    	"golang.org/x/oauth2"
    	"golang.org/x/oauth2/google"
    )
    
    func isMCPAddr(addr string) bool {
    	// A bit inexact but should be good enough.
    	return strings.Contains(addr, ".googleapis.com/") || strings.Contains(addr, ".googleapis.com:443/")
    }
    
    func mcpTransport(ctx context.Context, tr http.RoundTripper) (http.RoundTripper, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/AbstractToolchainZincScalaCompileIntegrationTest.groovy

            executer.beforeExecute {
                withInstallations(jdk)
            }
    
            configureJavaPluginToolchainVersion(jdk)
        }
    
        abstract Jvm computeJdkForTest()
    
        def "joint compile good java code with interface using default and static methods do not fail the build"() {
            given:
            goodJavaInterfaceCode()
            goodCodeUsingJavaInterface()
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java

    import org.apache.maven.settings.v4.SettingsStaxReader;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests that the global settings.xml shipped with the distribution is in good state.
     *
     */
    class GlobalSettingsTest {
    
        @Test
        void testValidGlobalSettings() throws Exception {
            String basedir = System.getProperty("basedir", System.getProperty("user.dir"));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/go/types/termlist.go

    	for _, x := range xl {
    		if x != nil && x.typ == nil {
    			return true
    		}
    	}
    	return false
    }
    
    // norm returns the normal form of xl.
    func (xl termlist) norm() termlist {
    	// Quadratic algorithm, but good enough for now.
    	// TODO(gri) fix asymptotic performance
    	used := make([]bool, len(xl))
    	var rl termlist
    	for i, xi := range xl {
    		if xi == nil || used[i] {
    			continue
    		}
    		for j := i + 1; j < len(xl); j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/math/rand/v2/example_test.go

    		"You may rely on it",
    		"As I see it yes",
    		"Most likely",
    		"Outlook good",
    		"Yes",
    		"Signs point to yes",
    		"Reply hazy try again",
    		"Ask again later",
    		"Better not tell you now",
    		"Cannot predict now",
    		"Concentrate and ask again",
    		"Don't count on it",
    		"My reply is no",
    		"My sources say no",
    		"Outlook not so good",
    		"Very doubtful",
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 17:09:26 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/crypto/rsa/pss_test.go

    			continue
    		}
    
    		opts.SaltLength = test.verifySaltLength
    		err = VerifyPSS(&rsaPrivateKey.PublicKey, hash, hashed, sig, &opts)
    		if (err == nil) != test.good {
    			t.Errorf("#%d: bad result, wanted: %t, got: %s", i, test.good, err)
    		}
    	}
    }
    
    func TestPSS513(t *testing.T) {
    	// See Issue 42741, and separately, RFC 8017: "Note that the octet length of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/03-gopls.yml

          required: true
      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
          description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best."
        validations:
          required: true
      - type: textarea
        id: actual-behavior
        attributes:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:09:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

                     */
                    public String getBar() {
                        return "bar";
                    }
                }
            """
        }
    
        def "generates HTML report with good code"() {
            goodCode()
            when:
            succeeds("checkstyleMain")
            then:
            def html = parseReport()
            def head = html.selectFirst("head")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

    import java.util.List;
    import java.util.ListIterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known
     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/api/meta/testrestmapper/test_restmapper.go

    			if rootScopedKinds[gv.WithKind(kind).GroupKind()] {
    				scope = meta.RESTScopeRoot
    			}
    			mapper.Add(gv.WithKind(kind), scope)
    		}
    	}
    
    	return mapper
    }
    
    // hardcoded is good enough for the test we're running
    var rootScopedKinds = map[schema.GroupKind]bool{
    	{Group: "admission.k8s.io", Kind: "AdmissionReview"}: true,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 06 09:07:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top