Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,708 for createG (0.27 sec)

  1. generics.go

    }
    
    type createG[T any] struct {
    	chainG[T]
    }
    
    func (c createG[T]) Table(name string, args ...interface{}) CreateInterface[T] {
    	return createG[T]{c.with(func(db *DB) *DB {
    		return db.Table(name, args...)
    	})}
    }
    
    func (c createG[T]) Create(ctx context.Context, r *T) error {
    	return c.g.apply(ctx).Create(r).Error
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. callbacks/create.go

    				if i, ok := value.(BeforeCreateInterface); ok {
    					called = true
    					db.AddError(i.BeforeCreate(tx))
    				}
    			}
    			return called
    		})
    	}
    }
    
    // Create create hook
    func Create(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.CreateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

                return null;
            })).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Creates a new role setting.
         *
         * @param body the role data to create
         * @return JSON response containing the created role setting ID
         */
        // POST /api/admin/role/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

        }
    
        /**
         * Creates and returns an initial context.
         *
         * @return the initial context
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/keymatch/ApiAdminKeymatchAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new key match setting.
         *
         * @param body the key match data to create
         * @return JSON response containing the created key match setting ID
         */
        // POST /api/admin/keymatch/setting
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new label type setting.
         *
         * @param body the label type data to create
         * @return JSON response containing the created label type setting ID
         */
        // POST /api/admin/labeltype/setting
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java

        /**
         * Initializes the form with default values for creation.
         * Sets the CRUD mode to CREATE and populates created by and created time fields
         * with current user and timestamp information.
         */
        public void initialize() {
            crudMode = CrudMode.CREATE;
            createdBy = ComponentUtil.getSystemHelper().getUsername();
            createdTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. cmd/benchmark-utils_test.go

    	}
    	// cleaning up the backend by removing all the directories and files created on function return.
    	defer removeRoots(disks)
    
    	// uses *testing.B and the object Layer to run the benchmark.
    	runPutObjectPartBenchmark(b, objLayer, objSize)
    }
    
    // creates Erasure/FS backend setup, obtains the object layer and calls the runPutObjectBenchmark function.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CompactHashSet.java

      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/pathmap/CreateForm.java

    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * The create form for Path Map.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /**
         * The CRUD operation mode (create, update, etc.).
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top