Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 2,764 for segfault (0.13 seconds)

  1. tests/serializer_test.go

    	switch value := dbValue.(type) {
    	case []byte:
    		*es = EncryptedString(bytes.TrimPrefix(value, []byte("hello")))
    	case string:
    		*es = EncryptedString(strings.TrimPrefix(value, "hello"))
    	default:
    		return fmt.Errorf("unsupported data %#v", dbValue)
    	}
    	return nil
    }
    
    func (es EncryptedString) Value(ctx context.Context, field *schema.Field, dst reflect.Value, fieldValue interface{}) (interface{}, error) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  2. scan.go

    		*sql.NullBool, *sql.NullString, *sql.NullTime:
    		for initialized || rows.Next() {
    			initialized = false
    			db.RowsAffected++
    			db.AddError(rows.Scan(dest))
    		}
    	default:
    		var (
    			fields       = make([]*schema.Field, len(columns))
    			joinFields   [][]*schema.Field
    			sch          = db.Statement.Schema
    			reflectValue = db.Statement.ReflectValue
    		)
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  3. migrator/migrator.go

    			m.Dialector.BindVarTo(defaultStmt, defaultStmt, field.DefaultValueInterface)
    			expr.SQL += " DEFAULT " + m.Dialector.Explain(defaultStmt.SQL.String(), field.DefaultValueInterface)
    		} else if field.DefaultValue != "(-)" {
    			expr.SQL += " DEFAULT " + field.DefaultValue
    		}
    	}
    
    	return
    }
    
    func (m Migrator) GetQueryAndExecTx() (queryTx, execTx *gorm.DB) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Oct 26 12:31:09 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            when(parserRequest.logger()).thenReturn(logger);
    
            return new UpgradeContext(request, options);
        }
    
        /**
         * Creates default upgrade options with all optional values empty.
         *
         * @return default upgrade options
         */
        public static UpgradeOptions createDefaultOptions() {
            UpgradeOptions options = mock(UpgradeOptions.class);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. impl/maven-core/src/site/apt/configuration-management.apt

     not sure the unified source directory structure addresses this issue.
    
     Properties
    
     maven.user.config.dir (system,default=${user.home}/.m2)
     maven.home            (system,user,default=${user.home}/m2)
     maven.repo.local      (system,user,default=${maven.user.config.dir}/repository)
    
     We need to define what happens in the when things are not setup correctly
    
     o ~/.m2 directory does not exist
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ForwardingSortedMultiset.java

     * either providing your own implementation, or delegating to the provided {@code standardAdd}
     * method.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingSortedMultiset}.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. tests/gaussdb_test.go

    		t.Errorf("Failed to create extension pgcrypto, got error %v", err)
    	}
    
    	DB.Migrator().DropTable(&Yasuo{})
    
    	if err := DB.AutoMigrate(&Yasuo{}); err != nil {
    		t.Fatalf("Failed to migrate for uuid default value, got error: %v", err)
    	}
    
    	yasuo := Yasuo{Name: "jinzhu"}
    	if err := DB.Create(&yasuo).Error; err != nil {
    		t.Fatalf("should be able to create data, but got %v", err)
    	}
    
    	if yasuo.ID == "" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  8. internal/crypto/key.go

    // It must never be stored in plaintext.
    type ObjectKey [32]byte
    
    // GenerateKey generates a unique ObjectKey from a 256 bit external key
    // and a source of randomness. If random is nil the default PRNG of the
    // system (crypto/rand) is used.
    func GenerateKey(extKey []byte, random io.Reader) (key ObjectKey) {
    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

     */
    public abstract class FessApiAdminAction extends FessApiAction {
    
        /** Logger instance for this class. */
        private static final Logger logger = LogManager.getLogger(FessApiAdminAction.class);
    
        /**
         * Default constructor.
         */
        public FessApiAdminAction() {
            super();
        }
    
        /**
         * Determines whether the current request is authorized to access admin API endpoints.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/cors/CorsHandler.java

     */
    public abstract class CorsHandler {
    
        /**
         * Creates a new instance of CorsHandler.
         */
        public CorsHandler() {
            // Default constructor
        }
    
        /**
         * CORS header for specifying allowed origin.
         */
        protected static final String ACCESS_CONTROL_ALLOW_ORIGIN = "Access-Control-Allow-Origin";
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top