Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 37 for renameat (0.16 sec)

  1. tests/migrate_test.go

    		gorm.Model
    		Name string
    	}
    
    	if err := DB.Migrator().RenameTable(&TableStruct{}, &NewTableStruct{}); err != nil {
    		t.Fatalf("Failed to rename table, got error %v", err)
    	}
    
    	if !DB.Migrator().HasTable("new_table_structs") {
    		t.Fatal("should found renamed table")
    	}
    
    	DB.Migrator().DropTable("new_table_structs")
    
    	if DB.Migrator().HasTable(&NewTableStruct{}) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/os/os_test.go

    func TestRenameFailed(t *testing.T) {
    	defer chtmpdir(t)()
    	from, to := "renamefrom", "renameto"
    
    	err := Rename(from, to)
    	switch err := err.(type) {
    	case *LinkError:
    		if err.Op != "rename" {
    			t.Errorf("rename %q, %q: err.Op: want %q, got %q", from, to, "rename", err.Op)
    		}
    		if err.Old != from {
    			t.Errorf("rename %q, %q: err.Old: want %q, got %q", from, to, from, err.Old)
    		}
    		if err.New != to {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  3. pkg/controller/history/controller_history_test.go

    		created, err := history.CreateControllerRevision(test.parent, test.revision, &collisionCount)
    		if err != nil {
    			t.Errorf("%s: %s", test.name, err)
    		}
    
    		if test.rename {
    			if created.Name == test.revision.Name {
    				t.Errorf("%s: wanted rename got %s %s", test.name, created.Name, test.revision.Name)
    			}
    			expectedName := ControllerRevisionName(test.parent.GetName(), HashControllerRevision(test.revision, &collisionCount))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 49.1K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    				// Skip tierFVID, tierFVMarker keys; it's used
    				// only for creating free-version.
    				// Also skip xMinIOHealing, xMinIODataMov as used only in RenameData
    				switch k {
    				case tierFVIDKey, tierFVMarkerKey, xMinIOHealing, xMinIODataMov:
    					continue
    				}
    
    				ventry.ObjectV2.MetaSys[k] = []byte(v)
    			} else {
    				ventry.ObjectV2.MetaUser[k] = v
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/syscall/zsyscall_darwin_arm64.go

    	return
    }
    
    func libc_readlink_trampoline()
    
    //go:cgo_import_dynamic libc_readlink readlink "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Rename(from string, to string) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(from)
    	if err != nil {
    		return
    	}
    	var _p1 *byte
    	_p1, err = BytePtrFromString(to)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_4.adoc

    Kotlin DSL::
     * Artifact configuration accessors now have the type `NamedDomainObjectProvider<Configuration>` instead of `Configuration`
     * `PluginAware.apply<T>(to)` was renamed `PluginAware.applyTo<T>(target)`.
    
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_7.adoc

    * `RelativePathUtil`
    * `TextUtil`
    * `SingleMessageLogger`
    * `VersionNumber`
    * `WrapUtil`
    
    [[dependency_factory_renamed]]
    ==== Internal DependencyFactory was renamed
    The internal `org.gradle.api.internal.artifacts.dsl.dependencies.DependencyFactory` type was renamed to `org.gradle.api.internal.artifacts.dsl.dependencies.DependencyFactoryInternal`.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 15:00:23 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  8. src/crypto/tls/common.go

    // https://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8.
    //
    // In TLS 1.2, this registry used to support only elliptic curves. In TLS 1.3,
    // it was extended to other groups and renamed NamedGroup. See RFC 8446, Section
    // 4.2.7. It was then also extended to other mechanisms, such as hybrid
    // post-quantum KEMs.
    type CurveID uint16
    
    const (
    	CurveP256 CurveID = 23
    	CurveP384 CurveID = 24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(oldpath)
    	if err != nil {
    		return
    	}
    	var _p1 *byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    These are particularly useful if you need a reference to a container element that you can use elsewhere in the build.
    In addition, Kotlin delegated properties can easily be renamed via IDE refactoring.
    
    The following sample does the exact same things as the one in the previous section, but it uses delegated properties and reuses those references in place of string-literal task paths:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top