Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,274 for rebate (0.26 sec)

  1. 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
    		}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 08 03:29:55 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. maven-core/src/test/projects/lifecycle-executor/project-with-multiple-executions/src/main/mdo/remote-resources.mdo

    -->
    
    <model>
      <id>remoteResourcesBundle</id>
      <name>RemoteResourcesBundle</name>
      <description>
        A bundle of remote resources.
        This is the model specification for remote-resources.xml.
      </description>
      <defaults>
        <default>
          <key>package</key>
          <value>org.apache.maven.plugin.resources.remote</value>
        </default>
      </defaults>
      <classes>
        <class rootElement="true" xml.tagName="remoteResourcesBundle">
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 07 21:28:01 GMT 2024
    - 2K bytes
    - Viewed (0)
  3. tests/create_test.go

    func TestCreateFromMap(t *testing.T) {
    	if err := DB.Model(&User{}).Create(map[string]interface{}{"Name": "create_from_map", "Age": 18}).Error; err != nil {
    		t.Fatalf("failed to create data from map, got error: %v", err)
    	}
    
    	var result User
    	if err := DB.Where("name = ?", "create_from_map").First(&result).Error; err != nil || result.Age != 18 {
    		t.Fatalf("failed to create from map, got error %v", err)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Mar 19 03:50:28 GMT 2024
    - 26.4K bytes
    - Viewed (0)
  4. cmd/os-rename_linux.go

    package cmd
    
    import (
    	"syscall"
    )
    
    // RenameSys is low level call in case of Linux this uses syscall.Rename() directly.
    func RenameSys(src, dst string) (err error) {
    	return syscall.Rename(src, dst)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 999 bytes
    - Viewed (0)
  5. cmd/os-rename_nolinux.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"os"
    )
    
    // RenameSys is low level call in case of non-Linux this just uses os.Rename()
    func RenameSys(src, dst string) (err error) {
    	return os.Rename(src, dst)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 985 bytes
    - Viewed (0)
  6. callbacks/create_test.go

    Jinghao Lu <******@****.***> 1710740922 +0800
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 05:48:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    	}, ObjectOptions{
    		VersionID: oi.VersionID,
    		NoLock:    true,
    	}); err != nil {
    		return err
    	}
    
    	return nil
    }
    
    const (
    	batchKeyRotationName               = "batch-rotate.bin"
    	batchKeyRotationFormat             = 1
    	batchKeyRotateVersionV1            = 1
    	batchKeyRotateVersion              = batchKeyRotateVersionV1
    	batchKeyRotateAPIVersion           = "v1"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. helm/minio/templates/_helper_create_svcacct.txt

      if [[ $(cat $MINIO_ACCESSKEY_SECRETKEY_TMP|wc -l) -ne 2 ]];then
        echo "credentials file is invalid"
        rm -f $MINIO_ACCESSKEY_SECRETKEY_TMP
        return 1
      fi
      SVCACCT=$(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP)
      # Create the svcacct if it does not exist
      if ! checkSvcacctExists ; then
        echo "Creating svcacct '$SVCACCT'"
        # Check if policy file is define
        if [ -z $FILENAME ]; then
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    ### Building a distribution from source
    
    To create a Gradle distribution from the source tree you can run either of the following:
    
        ./gradlew :distributions-full:binDistributionZip
    
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 15:30:53 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  10. cmd/storage-errors.go

    // errDriveIsRoot - cannot use the disk since its a root disk.
    var errDriveIsRoot = StorageErr("drive is part of root drive, will not be used")
    
    // errFaultyRemoteDisk - remote disk is faulty.
    var errFaultyRemoteDisk = StorageErr("remote drive is faulty")
    
    // errFaultyDisk - disk is faulty.
    var errFaultyDisk = StorageErr("drive is faulty")
    
    // errDiskAccessDenied - we don't have write permissions on disk.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top