Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 331 for gomod (0.04 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/testing_gradle_plugins.adoc

    Automated tests become an invaluable safety net when upgrading the plugin to a new Gradle version or enhancing/refactoring the code.
    
    === Organizing test source code
    
    We recommend implementing a good distribution of unit, integration, and functional tests to cover the most important use cases.
    Separating the source code for each test type automatically results in a project that is more maintainable and manageable.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 22:49:20 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. docs/en/docs/help-fastapi.md

    ### Understand the problem
    
    * First, make sure you **understand the problem** that the pull request is trying to solve. It might have a longer discussion in a GitHub Discussion or issue.
    
    * There's also a good chance that the pull request is not actually needed because the problem can be solved in a **different way**. Then you can suggest or ask about that.
    
    ### Don't worry about style
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    		var wg sync.WaitGroup
    		for i := 0; i < 10; i++ {
    			wg.Add(1)
    			go func() {
    				defer wg.Done()
    				a.AuthenticateToken(context.Background(), "")
    			}()
    		}
    
    		// no good way to make sure that all the callers are queued so we sleep.
    		time.Sleep(1 * time.Second)
    		close(c)
    		wg.Wait()
    
    		if lookups > 3 {
    			t.Fatalf("unexpected number of lookups: got=%d, wanted less than 3", lookups)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/expr.go

    	case ir.OSLICE2ARR:
    		n := n.(*ir.ConvExpr)
    		return walkSliceToArray(n, init)
    
    	case ir.OSLICE2ARRPTR:
    		n := n.(*ir.ConvExpr)
    		n.X = walkExpr(n.X, init)
    		return n
    
    	case ir.ODIV, ir.OMOD:
    		n := n.(*ir.BinaryExpr)
    		return walkDivMod(n, init)
    
    	case ir.OINDEX:
    		n := n.(*ir.IndexExpr)
    		return walkIndex(n, init)
    
    	case ir.OINDEXMAP:
    		n := n.(*ir.IndexExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/runtime/arena_test.go

    		if parallel {
    			t.Parallel()
    		}
    
    		// Allocate and write data, enough to exhaust the arena.
    		//
    		// This is an underestimate, likely leaving some space in the arena. That's a good thing,
    		// because it gives us coverage of boundary cases.
    		n := int(UserArenaChunkBytes / unsafe.Sizeof(*value))
    		if n == 0 {
    			n = 1
    		}
    
    		// Create a new arena and do a bunch of operations on it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_riscv64.s

    	ECALL
    
    	// In parent, return.
    	BEQ	ZERO, A0, child
    	MOVW	ZERO, ret+40(FP)
    	RET
    
    child:
    	// In child, on new stack.
    	MOV	-32(X2), T0
    	MOV	$1234, A0
    	BEQ	A0, T0, good
    	WORD	$0	// crash
    
    good:
    	// Initialize m->procid to Linux tid
    	MOV	$SYS_gettid, A7
    	ECALL
    
    	MOV	-24(X2), T2	// fn
    	MOV	-16(X2), T1	// g
    	MOV	-8(X2), T0	// m
    
    	BEQ	ZERO, T0, nog
    	BEQ	ZERO, T1, nog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

                tasks.withType(JavaCompile) {
                    options.compilerArgs << '-Xlint:all,-options' << '-Werror'
                }
            """
            buildFile << compilerConfiguration()
        }
    
        def "can compile good code"() {
            given:
            goodCode()
    
            when:
            succeeds("compileJava")
    
            then:
            output.contains(logStatement())
            javaClassFile("compile/test/Person.class").exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. pkg/apis/resource/structured/namedresources/validation/validation_test.go

    	scenarios := map[string]struct {
    		resources    *resourceapi.NamedResourcesResources
    		wantFailures field.ErrorList
    	}{
    		"empty": {
    			resources: testResources(nil),
    		},
    		"good": {
    			resources: testResources([]resourceapi.NamedResourcesInstance{{Name: goodName}}),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/project/antbuilder/DefaultIsolatedAntBuilder.java

            }
        }
    
        // We *absolutely* need to avoid polluting the project with ClassInfo from *our* classloader
        // So this class must NOT call any dynamic Groovy code. This means we must do what follows using
        // good old java reflection!
    
        private Object getProject(Object antBuilder) throws Exception {
            return antBuilder.getClass().getMethod("getProject").invoke(antBuilder);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 02 18:37:54 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1_test.go

    			serverResponse: authenticationv1.TokenReviewStatus{
    				Authenticated: false,
    			},
    			expectedAuthenticated: false,
    			expectedUser:          nil,
    		},
    		{
    			description:  "good audience",
    			implicitAuds: apiAuds,
    			reqAuds:      apiAuds,
    			serverResponse: authenticationv1.TokenReviewStatus{
    				Authenticated: true,
    				User: authenticationv1.UserInfo{
    					Username: "somebody",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 19.1K bytes
    - Viewed (0)
Back to top