Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,322 for Avoid (0.02 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/AccessResultImplTest.java

        }
    
        public void test_initWithResultDataOnly() {
            // Test init method with ResultData only
            AccessResultImpl<Long> result = new AccessResultImpl<>();
    
            ResultData resultData = new ResultData();
            resultData.setTransformerName("TestTransformer");
            resultData.setData(new byte[0]); // Set data to avoid getData() error
    
            result.init(null, resultData);
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getNetbiosScope()).thenReturn(null);
            // Configure OEM encoding to avoid NullPointerException
            when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        @DisplayName("Constructor with Configuration only should create empty Name instances")
        void testConstructorWithConfigOnly() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/arch/arch.go

    	register["HI"] = mips.REG_HI
    	register["LO"] = mips.REG_LO
    	// Pseudo-registers.
    	register["SB"] = RSB
    	register["FP"] = RFP
    	register["PC"] = RPC
    	// Avoid unintentionally clobbering g using R30.
    	delete(register, "R30")
    	register["g"] = mips.REG_R30
    	// Avoid unintentionally clobbering RSB using R28.
    	delete(register, "R28")
    	register["RSB"] = mips.REG_R28
    	registerPrefix := map[string]bool{
    		"F":   true,
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

         * This avoids the warning about not being able to find the root directory.
         */
        protected void createMvnDirectoryIfNeeded(UpgradeContext context) {
            context.info("");
            context.info("Creating .mvn directory if needed to avoid root directory warnings...");
    
            // Find the root directory (starting directory)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/HandlerTest.java

        }
    
        @Test
        void testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
            // This test ensures that for a standard HTTPS URL, openConnection also works and
            // wraps the connection, using mock handlers to avoid dependency on system handlers.
            setupMockProtocolHandlers();
            URL url = new URL("https://example.com/resource");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. guava/src/com/google/common/hash/BloomFilterStrategies.java

            LockFreeBitArray lockFreeBitArray = (LockFreeBitArray) o;
            // TODO(lowasser): avoid allocation here
            return Arrays.equals(toPlainArray(data), toPlainArray(lockFreeBitArray.data));
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          // TODO(lowasser): avoid allocation here
          return Arrays.hashCode(toPlainArray(data));
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jan 08 14:27:16 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_sql_databases/test_tutorial002.py

    from tests.utils import needs_py310
    
    
    def clear_sqlmodel():
        # Clear the tables in the metadata for the default base model
        SQLModel.metadata.clear()
        # Clear the Models associated with the registry, to avoid warnings
        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/io/Closer.java

       * in a {@code RuntimeException}. <b>Note:</b> Be sure to declare all of the checked exception
       * types your try block can throw when calling an overload of this method so as to avoid losing
       * the original exception type.
       *
       * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);}
       * to ensure the compiler knows that it will throw.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * @throws IOException
         */
        @BeforeEach
        void setUp() throws IOException {
            // Create a real URL instead of mocking to avoid protocol issues
            mockUrl = new URL("http://test.example.com/path");
    
            // Basic setup for mocks to avoid NullPointerExceptions
            when(mockConnection.getURL()).thenReturn(mockUrl);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/math/MathTesting.java

      static final Iterable<Integer> ALL_INTEGER_CANDIDATES;
    
      static {
        ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder();
        // Add boundary values manually to avoid over/under flow (this covers 2^N for 0 and 31).
        intValues.add(Integer.MAX_VALUE - 1, Integer.MAX_VALUE);
        // Add values up to 40. This covers cases like "square of a prime" and such.
        for (int i = 1; i <= 40; i++) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top