Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,487 for unimplement (0.53 sec)

  1. guava/src/com/google/common/reflect/Types.java

       * cannot implement that interface in source code in a way that will compile on both Java 7 and
       * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means it
       * won't compile on Java 7, while if we don't include the method then the compiler will complain
       * that an abstract method is unimplemented. So instead we use a dynamic proxy to get an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. src/crypto/aes/modes_test.go

    // Test the gcmAble interface is detected correctly by the cipher package.
    func TestGCMAble(t *testing.T) {
    	b := cipher.Block(&testBlock{})
    	if _, ok := b.(gcmAble); !ok {
    		t.Fatalf("testBlock does not implement the gcmAble interface")
    	}
    	aead, err := cipher.NewGCM(b)
    	if err != nil {
    		t.Fatalf("%v", err)
    	}
    	if _, ok := aead.(testInterface); !ok {
    		t.Fatalf("cipher.NewGCM did not use gcmAble interface")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue50816.go

    type T2 struct{}
    
    func (T2) foo() string { return "" }
    
    func _() {
    	var i I
    	_ = i /* ERROR "impossible type assertion: i.(T1)\n\tT1 does not implement I (missing method Foo)\n\t\thave foo()\n\t\twant Foo()" */ .(T1)
    	_ = i /* ERROR "impossible type assertion: i.(T2)\n\tT2 does not implement I (missing method Foo)\n\t\thave foo() string\n\t\twant Foo()" */ .(T2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 607 bytes
    - Viewed (0)
  4. pkg/kube/krt/singleton.go

    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (d *static[T]) dump() {
    	log.Errorf(">>> static[%v]: %+v<<<", ptr.TypeName[T](), d.val.Load())
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (d *static[T]) augment(a any) any {
    	// not supported in this collection type
    	return a
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (d *static[T]) name() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue50427.go

    func _(t T) {
    	var _ interface{ m[ /* ERROR "must have no type parameters" */ P any](); n() } = t /* ERROR "does not implement" */
    }
    
    type S struct{}
    
    func (S) m[ /* ERROR "must have no type parameters" */ P any]() {}
    
    func _(s S) {
    	var _ interface{ m[ /* ERROR "must have no type parameters" */ P any](); n() } = s /* ERROR "does not implement" */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 731 bytes
    - Viewed (0)
  6. pkg/kube/krt/join.go

    	}
    	return sync
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) augment(a any) any {
    	// not supported in this collection type
    	return a
    }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) name() string { return j.collectionName }
    
    // nolint: unused // (not true, its to implement an interface)
    func (j *join[T]) uid() collectionUID { return j.id }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    	})
    }
    func (f *recorderResourceManager) WebService() *restful.WebService {
    	panic("unimplemented")
    }
    
    func (f *recorderResourceManager) ServeHTTP(http.ResponseWriter, *http.Request) {
    	panic("unimplemented")
    }
    
    func (f *recorderResourceManager) WithSource(source Source) ResourceManager {
    	panic("unimplemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

       * cannot implement that interface in source code in a way that will compile on both Java 7 and
       * Java 8. If we include the {@code getAnnotatedBounds()} method then its return type means it
       * won't compile on Java 7, while if we don't include the method then the compiler will complain
       * that an abstract method is unimplemented. So instead we use a dynamic proxy to get an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. test/interface/receiver1.go

    }
    type SP struct {
    	*T
    }
    
    func main() {
    	var t T
    	var v V
    	var p P
    	var s S
    	var sp SP
    
    	v = t
    	p = t // ERROR "does not implement|requires a pointer|cannot use"
    	_, _ = v, p
    	v = &t
    	p = &t
    	_, _ = v, p
    
    	v = s
    	p = s // ERROR "does not implement|requires a pointer|cannot use"
    	_, _ = v, p
    	v = &s
    	p = &s
    	_, _ = v, p
    
    	v = sp
    	p = sp // no error!
    	_, _ = v, p
    	v = &sp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 03 17:55:56 UTC 2020
    - 790 bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/file/ContentFilterable.java

     */
    public interface ContentFilterable {
        /**
         * <p>Adds a content filter to be used during the copy.  Multiple calls to filter, add additional filters to the
         * filter chain.  Each filter should implement {@code java.io.FilterReader}. Include {@code
         * org.apache.tools.ant.filters.*} for access to all the standard Ant filters.</p>
         *
         * <p>Filter properties may be specified using groovy map syntax.</p>
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 16 22:05:15 UTC 2022
    - 5.4K bytes
    - Viewed (0)
Back to top