Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,393 for METHOD (0.29 sec)

  1. src/cmd/doc/doc_test.go

    	},
    	// Interface method at package level.
    	{
    		"interface method at package level",
    		[]string{p, `ExportedMethod`},
    		[]string{
    			`func \(ExportedType\) ExportedMethod\(a int\) bool`,
    			`Comment about exported method`,
    		},
    		[]string{
    			`Comment before exported method.*\n.*ExportedMethod\(\)` +
    				`.*Comment on line with exported method`,
    		},
    	},
    
    	// Method.
    	{
    		"method",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/BeanDynamicObject.java

                    }
                }
    
                // Query the declared methods of the meta class
                for (MetaMethod method : metaClass.getMethods()) {
                    if (method.getName().equals("propertyMissing") && method.getParameterTypes().length == 1) {
                        return method;
                    }
                }
                return null;
            }
    
            @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

      //
      // It should look like:
      //
      // specs {matcher {function_name {regex: ".*"}} method {static_range_ptq {}}}
      // specs {
      //   matcher {function_name {regex: "composite_conv.*"}}
      //   method {static_range_ptq {...}}}
      // }
      // specs {
      //   matcher {function_name {regex: "composite_dot_general_fn_1"}}
      //   method {no_quantization {}}
      // }
      const QuantizationConfig new_config = ExpandPresets(config);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/RequestTest.kt

        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
        assertThat(request.method).isEqualTo(method)
        assertThat(request.body).isEqualTo(body)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. pkg/kubelet/container/testing/runtime_mock.go

    	return mock
    }
    
    // EXPECT returns an object that allows the caller to indicate expected use.
    func (m *MockVersion) EXPECT() *MockVersionMockRecorder {
    	return m.recorder
    }
    
    // Compare mocks base method.
    func (m *MockVersion) Compare(other string) (int, error) {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "Compare", other)
    	ret0, _ := ret[0].(int)
    	ret1, _ := ret[1].(error)
    	return ret0, ret1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. src/internal/reflectlite/value.go

    // if any, are noted in the documentation for each method.
    // Use the Kind method to find out the kind of value before
    // calling kind-specific methods. Calling a method
    // inappropriate to the kind of type causes a run time panic.
    //
    // The zero Value represents no value.
    // Its IsValid method returns false, its Kind method returns Invalid,
    // its String method returns "<invalid Value>", and all other methods panic.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy

        }
    
        def 'a metamethod obtained within an entry point scope does not break out of the scope'() {
            MetaMethod method = null
    
            when:
            withEntryPoint(INVOKE_METHOD, "test") {
                method = instance.metaClass.getMetaMethod("test")
            }
            method.invoke(instance, [].toArray())
    
            then: 'the call should not be intercepted'
            instance.intercepted == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 15K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/ProtocolToModelAdapter.java

            }
    
            @Override
            public void invoke(MethodInvocation method) throws Throwable {
                if (method.isGetter()) {
                    if (properties.containsKey(method.getName())) {
                        method.setResult(properties.get(method.getName()));
                        return;
                    }
                    if (unknown.contains(method.getName())) {
                        return;
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 04:42:54 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. pkg/kubelet/server/stats/testing/mock_stats_provider.go

    }
    
    // EXPECT returns an object that allows the caller to indicate expected use.
    func (m *MockProvider) EXPECT() *MockProviderMockRecorder {
    	return m.recorder
    }
    
    // GetCgroupCPUAndMemoryStats mocks base method.
    func (m *MockProvider) GetCgroupCPUAndMemoryStats(cgroupName string, updateStats bool) (*v1alpha1.ContainerStats, error) {
    	m.ctrl.T.Helper()
    	ret := m.ctrl.Call(m, "GetCgroupCPUAndMemoryStats", cgroupName, updateStats)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/go/types/typeset.go

    			if check != nil {
    				err := check.newError(DuplicateDecl)
    				err.addf(atPos(pos), "duplicate method %s", m.name)
    				err.addf(atPos(mpos[other.(*Func)]), "other declaration of method %s", m.name)
    				err.report()
    			}
    		default:
    			// We have a duplicate method name in an embedded (not explicitly declared) method.
    			// Check method signatures after all types are computed (go.dev/issue/33656).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top