Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 2,321 for methods (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/SmbComWriteAndXResponseTest.java

            // This method does nothing and should return 0.
            assertEquals(0, bytesRead);
        }
    
        /**
         * Test the toString method.
         */
        @Test
        void testToString() {
            SmbComWriteAndXResponse response = new SmbComWriteAndXResponse();
            response.count = 12345L;
    
            String result = response.toString();
    
            // The toString method should return a string containing the count.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

        private static final Logger logger = Logger.getLogger(IOIntegrationTest.class.getName());
    
        class MockCurlRequest extends CurlRequest {
    
            MockCurlRequest(Curl.Method method, String url) {
                super(method, url);
            }
    
            @Override
            public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) {
                try {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat May 10 01:44:04 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      result.headersDelay(getHeadersDelay(MILLISECONDS), MILLISECONDS)
      return result.build()
    }
    
    private fun PushPromise.wrap(): mockwebserver3.PushPromise =
      mockwebserver3.PushPromise(
        method = method,
        path = path,
        headers = headers,
        response = response.wrap(),
      )
    
    internal fun mockwebserver3.RecordedRequest.unwrap(): RecordedRequest =
      RecordedRequest(
        requestLine = requestLine,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 13:16:34 UTC 2025
    - 4.1K bytes
    - Viewed (1)
  4. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isHashCodeMethod(equalsMethod), is(not(true)));
        }
    
        /**
         *
         */
        @Test
        public void testIsToStringMethod() {
            final Method toStringMethod = ClassUtil.getMethod(getClass(), "toString");
            assertThat(MethodUtil.isToStringMethod(toStringMethod), is(true));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

            assertEquals(14, request.getCommand());
            verify(mockConfig).getMaximumBufferSize();
            verify(mockConfig).getListSize();
        }
    
        @Test
        @DisplayName("Test setFileId method")
        void testSetFileId() {
            request = new Smb2QueryDirectoryRequest(mockConfig);
            byte[] fileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                fileId[i] = (byte) (i + 1);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * that are triggered during a Maven build lifecycle.
     *
     * The primary entry point is the {@link #execute()} method, which encapsulates
     * the behavior of the Mojo and serves as the integration point with Maven. This
     * method may throw an {@link Exception} to signal any issues that prevent
     * successful execution of the Mojo.
     *
     * <p>
     * Annotations:
     * </p>
     * <ul>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. cmd/signature-v2.go

    func preSignatureV2(cred auth.Credentials, method string, encodedResource string, encodedQuery string, headers http.Header, expires string) string {
    	stringToSign := getStringToSignV2(method, encodedResource, encodedQuery, headers, expires)
    	return calculateSignatureV2(stringToSign, cred.SecretKey)
    }
    
    // Return the signature v2 of a given request.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/SourceSinkTester.java

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    func guessIsRPCReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	if req.Method == http.MethodGet && req.URL != nil {
    		switch req.URL.Path {
    		case grid.RoutePath, grid.RouteLockPath:
    			return true
    		}
    	}
    
    	return (req.Method == http.MethodPost || req.Method == http.MethodGet) &&
    		strings.HasPrefix(req.URL.Path, minioReservedBucketPath+SlashSeparator)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  10. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java

     * Annotated fields must not be null after construction has completed.
     * <p>
     * When this annotation is applied to a method it applies to the method return value.
     *
     * @see Nullable
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top