Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4881 - 4890 of 5,421 for return (0.35 sec)

  1. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.setFessConfig(null);
        }
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        public void test_setFessConfig_null() {
            assertTrue(FessProp.propMap.isEmpty());
        }
    
        public void test_setFessConfig_notNull() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
      private List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, String... explicitTestNames) {
        return sanityTests.findClassesToTest(classes, Arrays.asList(explicitTestNames));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedInputs.java

            String message, String a1, String a2, String a3, String a4, String a5, String a6) {
          super(message);
        }
    
        public Throwable getAntecedent() {
          return antecedent;
        }
      }
    
      @SuppressWarnings("unused") // we're testing that they're not used
      public static final class ExceptionWithSomePrivateConstructors extends Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class ConcurrentMapReplaceEntryTester<K, V> extends AbstractMapTester<K, V> {
      @Override
      protected ConcurrentMap<K, V> getMap() {
        return (ConcurrentMap<K, V>) super.getMap();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresent() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            assertEquals(InetAddress.getByName("127.0.0.1"), encData.getUserAddresses().get(0));
            assertNotNull(encData.getUserAuthorizations());
            // Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case
            assertTrue(encData.getUserAuthorizations().isEmpty());
        }
    
        /**
         * Test constructor with a malformed token.
         */
        @Test
        void testConstructorMalformed() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

                  return@Interceptor chain.proceed(chain.request())
                } catch (e: InterruptedException) {
                  throw InterruptedIOException()
                }
              },
            ).addNetworkInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                try {
                  Thread.sleep(networkInterceptorDelay)
                  return@Interceptor chain.proceed(chain.request())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  7. docs/fa/docs/async.md

    ```Python hl_lines="1"
    async def get_burgers(number: int):
        # یه سری کار ناهم‌زمان برای ساختن برگرها انجام بده
        return burgers
    ```
    
    ...به جای `def`:
    
    ```Python hl_lines="2"
    # این ناهم‌زمان نیست
    def get_sequential_burgers(number: int):
        # یه سری کار ترتیبی برای ساختن برگرها انجام بده
        return burgers
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
      public static Method[] getHoleMethods() {
        return new Method[] {
          getMethod(NavigableSetNavigationTester.class, "testLowerHole"),
          getMethod(NavigableSetNavigationTester.class, "testFloorHole"),
          getMethod(NavigableSetNavigationTester.class, "testCeilingHole"),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params-numeric-validations.md

    ///
    
    /// note | Technical Details
    
    When you import `Query`, `Path` and others from `fastapi`, they are actually functions.
    
    That when called, return instances of classes of the same name.
    
    So, you import `Query`, which is a function. And when you call it, it returns an instance of a class also named `Query`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. tests/prepared_stmt_test.go

    }
    
    func TestPreparedStmtInTransaction(t *testing.T) {
    	user := User{Name: "jinzhu"}
    
    	if err := DB.Transaction(func(tx *gorm.DB) error {
    		tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user)
    		return errors.New("test")
    	}); err == nil {
    		t.Error(err)
    	}
    
    	var result User
    	if err := DB.First(&result, user.ID).Error; err == nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top