Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4481 - 4490 of 5,326 for Returns (0.05 sec)

  1. tests/error_translator_test.go

    	}
    
    	dialectors := map[string]bool{"sqlite": true, "postgres": true, "gaussdb": true, "mysql": true, "sqlserver": true}
    	if supported, found := dialectors[db.Dialector.Name()]; !(found && supported) {
    		return
    	}
    
    	DB.Migrator().DropTable(&City{})
    
    	if err = db.AutoMigrate(&City{}); err != nil {
    		t.Fatalf("failed to migrate cities table, got error: %v", err)
    	}
    
    	err = db.Create(&City{Name: "Kabul"}).Error
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/log/JulLoggerAdapterFactory.java

     *
     * @author koichik
     */
    class JulLoggerAdapterFactory implements LoggerAdapterFactory {
    
        @Override
        public LoggerAdapter getLoggerAdapter(final Class<?> clazz) {
            return new JulLoggerAdapter(clazz);
        }
    
        @Override
        public void releaseAll() {
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1002 bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    		names := make([]ObjectToDelete, len(testCases))
    		for i := range testCases {
    			names[i] = ObjectToDelete{
    				ObjectV: ObjectV{
    					ObjectName: testCases[i].object,
    				},
    			}
    		}
    		return names
    	}
    
    	objectNames := toObjectNames(testCases)
    	_, delErrs := obj.DeleteObjects(ctx, bucketName, objectNames, ObjectOptions{})
    
    	for i := range delErrs {
    		if delErrs[i] != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

        try {
          while (true) {
            try {
              readTheList()
              return
            } catch (_: InterruptedIOException) {
              Thread.interrupted() // Temporarily clear the interrupted state.
              interrupted = true
            } catch (e: IOException) {
              readFailure = e
              return
            }
          }
        } finally {
          if (interrupted) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/WebApiUtil.java

         *
         * @param <T> The type of the object
         * @param name The attribute name
         * @return The attribute value, or null if not found
         */
        @SuppressWarnings("unchecked")
        public static <T> T getObject(final String name) {
            return LaRequestUtil.getOptionalRequest().map(req -> (T) req.getAttribute(name)).orElse(null);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. tests/named_argument_test.go

    		t.Errorf("should return record not found error, but got %v", err)
    	}
    
    	DB.Delete(&namedUser)
    
    	var result8 NamedUser
    	if err := DB.Where("name1 = @name OR name2 = @name", map[string]interface{}{"name": "jinzhu-new"}).First(&result8).Error; err == nil || !errors.Is(err, gorm.ErrRecordNotFound) {
    		t.Errorf("should return record not found error, but got %v", err)
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Dec 21 11:50:00 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

             * Default constructor for command-line options.
             */
            protected Options() {
                // nothing
            }
    
            @Override
            public String toString() {
                return "Options [sessionId=" + sessionId + ", name=" + name + ", propertiesPath=" + propertiesPath + ", numOfThreads="
                        + numOfThreads + "]";
            }
    
        }
    
        static void initializeProbes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

                          Entry<TypeToken, Object> entry = (Entry<TypeToken, Object>) object;
                          map.putInstance(entry.getKey(), entry.getValue());
                        }
                        return (Map) map;
                      }
                    })
                .named("MutableTypeToInstanceMap")
                .withFeatures(
                    MapFeature.SUPPORTS_REMOVE,
                    MapFeature.RESTRICTS_KEYS,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/StringsTest.java

                // When
                byte[] result = Strings.getBytes(null, StandardCharsets.UTF_8);
    
                // Then
                assertNotNull(result, "Should return non-null array");
                assertEquals(0, result.length, "Should return empty array for null string");
            }
    
            @Test
            @DisplayName("getBytes should encode string with specified charset")
            void testGetBytesWithCharset() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java

    import org.dbflute.utflute.lastaflute.WebContainerTestCase;
    
    public abstract class UnitFessTestCase extends WebContainerTestCase {
        @Override
        protected String prepareConfigFile() {
            return "test_app.xml";
        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1K bytes
    - Viewed (0)
Back to top