Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 2,267 for Methods (0.09 sec)

  1. src/test/java/jcifs/util/transport/RequestTest.java

            // Test case for getCreditCost method
            int expectedCreditCost = 10;
            when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost);
    
            int actualCreditCost = mockRequest.getCreditCost();
    
            assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

        return new OpenJdk6QueueTests().allTests();
      }
    
      private static final List<Method> PQ_SUPPRESS = asList(getCreateWithNullUnsupportedMethod());
    
      @Override
      protected Collection<Method> suppressForPriorityBlockingQueue() {
        return PQ_SUPPRESS;
      }
    
      @Override
      protected Collection<Method> suppressForPriorityQueue() {
        return PQ_SUPPRESS;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeInputStream.java

            return this.handle.ensureOpen();
        }
    
        /**
         * This stream class is unbuffered. Therefore this method will always
         * return 0 for streams connected to regular files. However, a
         * stream created from a Named Pipe this method will query the server using a
         * "peek named pipe" operation and return the number of available bytes
         * on the server.
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/internal/Finalizer.java

       *
       * @param finalizableReferenceClass FinalizableReference.class.
       * @param queue a reference queue that the thread will poll.
       * @param frqReference a phantom reference to the FinalizableReferenceQueue, which will be queued
       *     either when the FinalizableReferenceQueue is no longer referenced anywhere, or when its
       *     close() method is called.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    	testCases := []struct {
    		method     string
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// Sent body
    		body []byte
    		// Expected response
    		expectedRespStatus int
    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// GET empty credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    			accessKey:          "",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/GenericsUtil.java

        /**
         * Returns the generic type of the specified method for the given index.
         *
         * @param method the method to analyze
         * @param index the index of the generic type
         * @return the generic type class, or null if not found
         */
        public static Type getGenericParameter(final java.lang.reflect.Method method, final int index) {
            return getGenericParameter(method.getGenericReturnType(), index);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeSetNatural() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForTreeSetWithComparator() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForCopyOnWriteArraySet() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForUnmodifiableSet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Predicate.java

     * predicate::test}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
     * appropriate primitive specialization such as {@code IntPredicate}) instead whenever possible.
     * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 15:22:00 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

        }
    
        /**
         * Test of getName method, of class SmbShareInfo.
         */
        @Test
        void testGetName() {
            String netName = "TEST_SHARE";
            SmbShareInfo instance = new SmbShareInfo(netName, 0, "remark");
            assertEquals(netName, instance.getName());
        }
    
        /**
         * Test of getType method, of class SmbShareInfo.
         */
        @Test
        void testGetType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DosFileFilterTest.java

         * This test covers various combinations of file attributes and filter attributes
         * to ensure the bitwise logic is correctly implemented.
         *
         * @param filterAttributes The attributes set for the filter.
         * @param fileAttributes The attributes of the mock file.
         * @param expectedResult The expected outcome of the accept method.
         * @throws SmbException If an SMB error occurs.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top