Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 2,146 for Bratch (0.17 sec)

  1. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        CountDownLatch latch = new CountDownLatch(1);
        Object unused =
            new Object() {
              @SuppressWarnings({"removal", "Finalize"}) // b/260137033
              @Override
              protected void finalize() {
                latch.countDown();
              }
            };
        unused = null; // Hint to the JIT that unused is unreachable
        GcFinalization.await(latch);
        assertEquals(0, latch.getCount());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-updates.md

    ## Atualizações parciais com `PATCH`
    
    Você também pode usar a operação <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH" class="external-link" target="_blank">HTTP `PATCH`</a> para *atualizar* parcialmente os dados.
    
    Isso significa que você pode enviar apenas os dados que deseja atualizar, deixando o restante intacto.
    
    /// note | Nota
    
    `PATCH` é menos comumente usado e conhecido do que `PUT`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java

                assertTrue(true);
            } catch (IllegalArgumentException e) {
                fail();
            }
    
            try {
                settings.badword().add("");
                fail();
            } catch (IllegalArgumentException e) {
                assertTrue(true);
            }
    
            try {
                settings.badword().add("aaaa bbb");
                fail();
            } catch (IllegalArgumentException e) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

                return (DfFinalTimeZoneProvider) field.get(null);
            } catch (NoSuchFieldException e) {
                // Field might not exist in this version, return null
                return null;
            } catch (IllegalAccessException e) {
                // Cannot access field due to security restrictions
                return null;
            } catch (Exception e) {
                // Other errors, return null instead of throwing
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            // Test catching as parent class
            String message = "Parent class catch test";
    
            try {
                throw new ScriptEngineException(message);
            } catch (FessSystemException e) {
                assertEquals(message, e.getMessage());
                assertTrue(e instanceof ScriptEngineException);
            } catch (Exception e) {
                fail("Should have caught as FessSystemException");
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            final String value = System.getProperty("corelib.timeout_task.num_of_threads");
            if (StringUtil.isNotBlank(value)) {
                try {
                    nThreads = Integer.parseInt(value);
                } catch (final NumberFormatException e) {
                    logger.warn("Failed to parse " + value, e);
                }
            }
            if (nThreads < 1) {
                nThreads = 1;
            }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            // Verify constructor exists with Context parameter
            try {
                FessWebResourceRoot.class.getConstructor(Context.class);
                assertTrue("Constructor with Context parameter exists", true);
            } catch (final NoSuchMethodException e) {
                fail("Constructor with Context parameter should exist");
            }
        }
    
        public void test_methodsExist() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

                    null);
    
            assertFalse(durableInfo.isExpired());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            assertTrue(durableInfo.isExpired());
    
            // Test persistent handle (never expires)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

                                buf.append('\n');
                            } catch (final Exception e) {
                                if (logger.isDebugEnabled()) {
                                    logger.debug("Exception in an internal extractor.", e);
                                }
                            }
                        }
                    }
                }
            } catch (final MaxLengthExceededException e) {
                throw e;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. tests/generics_test.go

    	}
    }
    
    func TestGenericsCreateInBatches(t *testing.T) {
    	batch := []User{
    		{Name: "GenericsCreateInBatches1"},
    		{Name: "GenericsCreateInBatches2"},
    		{Name: "GenericsCreateInBatches3"},
    	}
    	ctx := context.Background()
    
    	if err := gorm.G[User](DB).CreateInBatches(ctx, &batch, 2); err != nil {
    		t.Fatalf("CreateInBatches failed: %v", err)
    	}
    
    	for _, u := range batch {
    		if u.ID == 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 28K bytes
    - Viewed (0)
Back to top