Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,072 for makeFn (0.14 sec)

  1. src/internal/types/testdata/fixedbugs/issue51232.go

    }
    
    type concreteF[RCT RC[RG], RG any] struct {
    	makeFn func() Fn /* ERROR "not enough type arguments for type Fn: have 1, want 2" */ [RCT]
    }
    
    func (c *concreteF[RCT, RG]) Fn() Fn /* ERROR "not enough type arguments for type Fn: have 1, want 2" */ [RCT] {
    	return c.makeFn()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:50:55 UTC 2023
    - 989 bytes
    - Viewed (0)
  2. test/typeparam/issue51232.go

    }
    
    type concreteF[RCT RC[RG], RG any] struct {
    	makeFn func() Fn[RCT] // ERROR "not enough type arguments for type Fn: have 1, want 2"
    }
    
    func (c *concreteF[RCT, RG]) Fn() Fn[RCT] { // ERROR "not enough type arguments for type Fn: have 1, want 2"
    	return c.makeFn()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:50:55 UTC 2023
    - 898 bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue51233.go

    }
    
    type concreteF[RCT RC[RG], RG any] struct {
    	makeFn FFn /* ERROR "not enough type arguments for type FFn: have 1, want 2" */ [RCT]
    }
    
    func (c *concreteF[RCT, RG]) Fn() Fn /* ERROR "not enough type arguments for type Fn: have 1, want 2" */ [RCT] {
    	return c.makeFn()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:50:55 UTC 2023
    - 818 bytes
    - Viewed (0)
  4. test/typeparam/issue51233.go

    }
    
    type concreteF[RCT RC[RG], RG any] struct {
    	makeFn FFn[RCT] // ERROR "not enough type arguments for type FFn: have 1, want 2"
    }
    
    func (c *concreteF[RCT, RG]) Fn() Fn[RCT] { // ERROR "not enough type arguments for type Fn: have 1, want 2"
    	return c.makeFn()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:50:55 UTC 2023
    - 816 bytes
    - Viewed (0)
  5. src/container/ring/ring_test.go

    	r1.Unlink(0)
    	verify(t, &r1, 1, 0)
    }
    
    func makeN(n int) *Ring {
    	r := New(n)
    	for i := 1; i <= n; i++ {
    		r.Value = i
    		r = r.Next()
    	}
    	return r
    }
    
    func sumN(n int) int { return (n*n + n) / 2 }
    
    func TestNew(t *testing.T) {
    	for i := 0; i < 10; i++ {
    		r := New(i)
    		verify(t, r, i, -1)
    	}
    	for i := 0; i < 10; i++ {
    		r := makeN(i)
    		verify(t, r, i, sumN(i))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  6. pkg/controller/garbagecollector/graph_builder_test.go

    		makeID("v2", "kind", "ns1", "name", "uid"),
    		makeID("v3", "kind", "ns1", "name", "uid"),
    		makeID("v4", "kind", "ns1", "name", "uid"),
    		makeID("v5", "kind", "ns1", "name", "uid"),
    	}
    	orderedClusterReferences := []objectReference{
    		makeID("v1", "kind", "", "name", "uid"),
    		makeID("v2", "kind", "", "name", "uid"),
    		makeID("v3", "kind", "", "name", "uid"),
    		makeID("v4", "kind", "", "name", "uid"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 17 15:49:32 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/termlist_test.go

    // license that can be found in the LICENSE file.
    
    package types2
    
    import (
    	"strings"
    	"testing"
    )
    
    // maketl makes a term list from a string of the term list.
    func maketl(s string) termlist {
    	s = strings.ReplaceAll(s, " ", "")
    	names := strings.Split(s, "|")
    	r := make(termlist, len(names))
    	for i, n := range names {
    		r[i] = testTerm(n)
    	}
    	return r
    }
    
    func TestTermlistAll(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 07 21:37:14 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    		shouldSucceed bool
    	}{
    		"success-same-version": {
    			oldPV:         makePV("pv1", "").withVersion("5").PersistentVolume,
    			newPV:         makePV("pv1", "").withVersion("5").PersistentVolume,
    			shouldSucceed: true,
    		},
    		"success-storageclass-same-version": {
    			oldPV:         makePV("pv1", "class1").withVersion("5").PersistentVolume,
    			newPV:         makePV("pv1", "class1").withVersion("5").PersistentVolume,
    			shouldSucceed: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. .github/workflows/maven.yml

    # This workflow will build a Java project with Maven
    # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
    
    name: Java CI with Maven
    
    on:
      push:
        branches:
        - master
        - "*.x"
      pull_request:
        branches:
        - master
        - "*.x"
    
    jobs:
      build:
        runs-on: ${{ matrix.os }}
    
        strategy:
          matrix:
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Sat Feb 19 00:40:24 UTC 2022
    - 675 bytes
    - Viewed (0)
  10. maven-embedder/src/test/projects/mavenConfigProperties/.mvn/maven.config

    # a comment
    -T
    3
    -Drevision=1.3.0
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Jun 04 05:10:57 UTC 2023
    - 58 bytes
    - Viewed (0)
Back to top