Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 2,476 for metodu (0.05 seconds)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        @DisplayName("Test deprecated getPassword() method warning")
        public void testDeprecatedGetPasswordWarning() {
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "TestPass123!");
    
            // This should log a warning about using deprecated method
            String password = auth.getPassword();
            assertNotNull(password);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  2. cmd/healthcheck-router.go

    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodHead).Path(healthCheckClusterPath).HandlerFunc(httpTraceAll(ClusterCheckHandler))
    	healthRouter.Methods(http.MethodGet).Path(healthCheckClusterReadPath).HandlerFunc(httpTraceAll(ClusterReadCheckHandler))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 23 11:12:47 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        i++;
                    } else if (s.equalsIgnoreCase("DNS")) {
                        // skip
                    } else if (LogStream.level > 1) {
                        log.println("unknown resolver method: " + s);
                    }
                }
                resolveOrder = new int[i];
                System.arraycopy(tmp, 0, resolveOrder, 0, i);
            }
        }
    
        int getNextNameTrnId() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          this.threshold = newTable.length() * 3 / 4; // 0.75
          this.table = newTable;
        }
    
        // Convenience methods for testing
    
        /**
         * Unsafe cast of the given entry to {@code E}, the type of the specific {@link InternalEntry}
         * implementation type.
         *
         * <p>This method is provided as a convenience for tests. Otherwise they'd need to be
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 89.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readDataWireFormat(buffer, 0, 0);
            });
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            String result = response.toString();
    
            assertNotNull(result);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

     *
     * This test class verifies the basic functionality of DirFileEntryAdapterIterator.
     * Due to the iterator's constructor calling advance() immediately, which requires
     * the adapt() method to be functional, we test the behavior using simple mock
     * scenarios that don't require complex filter setups.
     */
    @ExtendWith(MockitoExtension.class)
    class DirFileEntryAdapterIteratorTest {
    
        @Mock
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(expectedMappedValue, actualInfoLevel);
        }
    
        @Test
        @DisplayName("Test with null buffer in read methods")
        void testReadMethodsWithNullBuffer() {
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo);
    
            // All read methods should handle null buffer gracefully
            assertEquals(0, trans2SetFileInfo.readSetupWireFormat(null, 0, 0));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  8. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.TreeSet} can suppress it with {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.TreeSet} can suppress it with {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top