Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3121 - 3130 of 5,353 for Return (0.05 sec)

  1. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
              public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) {
                return builder.recordStats().build(identityLoader());
              }
            });
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

        CacheBuilderFactory factory = cacheFactory();
        return Iterables.transform(
            factory.buildAllPermutations(),
            new Function<CacheBuilder<Object, Object>, LoadingCache<Object, Object>>() {
              @Override
              public LoadingCache<Object, Object> apply(CacheBuilder<Object, Object> builder) {
                return builder.build(identityLoader());
              }
            });
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            try {
                Class<?> cls = Class.forName("jcifs.smb.SmbEnumerationUtil$" + simpleName);
                Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes);
                ctor.setAccessible(true);
                return ctor.newInstance(args);
            } catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException
                    | InvocationTargetException e) {
                throw new AssertionError(e);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsRelatedContentCQ.java

        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "related_content";
        }
    
        @Override
        public String xgetAliasName() {
            return "related_content";
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 63.8K bytes
    - Viewed (1)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

    @IgnoreJRERequirement // We opt into library desugaring for our tests.
    public class MapReplaceAllTester<K, V> extends AbstractMapTester<K, V> {
      private SampleElements<K> keys() {
        return new SampleElements<>(k0(), k1(), k2(), k3(), k4());
      }
    
      private SampleElements<V> values() {
        return new SampleElements<>(v0(), v1(), v2(), v3(), v4());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testReplaceAllRotate() {
        getMap()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

        return new ListenableFutureTask<>(callable);
      }
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Runnable}, and arrange that {@code get} will return the given result on successful completion.
       *
       * @param runnable the runnable task
       * @param result the result to return on successful completion. If you don't need a particular
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. schema/callbacks_test.go

    import (
    	"reflect"
    	"sync"
    	"testing"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    )
    
    type UserWithCallback struct{}
    
    func (UserWithCallback) BeforeSave(*gorm.DB) error {
    	return nil
    }
    
    func (UserWithCallback) AfterCreate(*gorm.DB) error {
    	return nil
    }
    
    func TestCallback(t *testing.T) {
    	user, err := schema.Parse(&UserWithCallback{}, &sync.Map{}, schema.NamingStrategy{})
    	if err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 939 bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                return setupWireFormatReturn;
            }
    
            @Override
            protected int writeParametersWireFormat(byte[] dst, int dstIndex) {
                return parametersWireFormatReturn;
            }
    
            @Override
            protected int writeDataWireFormat(byte[] dst, int dstIndex) {
                return dataWireFormatReturn;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertEquals(rootCause, exception.getRootCause());
            }
        }
    
        @Nested
        @DisplayName("GetRootCause Tests")
        class GetRootCauseTests {
    
            @Test
            @DisplayName("Should return root cause when set")
            void testGetRootCause() {
                Exception rootCause = new IllegalStateException("Test root cause");
                TransportException exception = new TransportException("Message", rootCause);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

        }
    
        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            return determineValid(value);
        }
    
        /**
         * Determines if the given value is a valid cron expression.
         * @param value the value to validate
         * @return true if valid, false otherwise
         */
        protected boolean determineValid(final String value) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top