Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 107 for relocations (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. schema/schema_test.go

    	}
    
    	for i := range fields {
    		checkSchemaField(t, user, &fields[i], func(f *schema.Field) {
    			f.Creatable = true
    			f.Updatable = true
    			f.Readable = true
    		})
    	}
    
    	// check relations
    	relations := []Relation{
    		{
    			Name: "Account", Type: schema.HasOne, Schema: "User", FieldSchema: "Account",
    			References: []Reference{{"ID", "User", "UserID", "Account", "", true}},
    		},
    		{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java

                    target.setLocation("downloadUrl", source.getLocation("downloadUrl"));
                }
            }
        }
    
        protected void mergeRelocation(
                Relocation target, Relocation source, boolean sourceDominant, Map<Object, Object> context) {
            mergeRelocation_GroupId(target, source, sourceDominant, context);
            mergeRelocation_ArtifactId(target, source, sourceDominant, context);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 11:21:39 GMT 2025
    - 99.2K bytes
    - Click Count (0)
  3. gorm.go

    		if f.Size == 0 {
    			f.Size = ref.ForeignKey.Size
    		}
    		ref.ForeignKey = f
    	}
    
    	for name, rel := range relation.JoinTable.Relationships.Relations {
    		if _, ok := joinSchema.Relationships.Relations[name]; !ok {
    			rel.Schema = joinSchema
    			joinSchema.Relationships.Relations[name] = rel
    		}
    	}
    	relation.JoinTable = joinSchema
    
    	return nil
    }
    
    // Use use plugin
    func (db *DB) Use(plugin Plugin) error {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      public void testLocationsFrom_idempotentScan() throws IOException {
        ImmutableSet<ClassPath.LocationInfo> locations =
            ClassPath.locationsFrom(getClass().getClassLoader());
        assertThat(locations).isNotEmpty();
        for (ClassPath.LocationInfo location : locations) {
          ImmutableSet<ResourceInfo> resources = location.scanResources();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. scan.go

    							}
    						}
    
    						if rel, ok := sch.Relationships.Relations[names[0]]; ok {
    							subNameCount := len(names)
    							// nested relation fields
    							relFields := make([]*schema.Field, 0, subNameCount-1)
    							relFields = append(relFields, rel.Field)
    							for _, name := range names[1 : subNameCount-1] {
    								rel = rel.FieldSchema.Relationships.Relations[name]
    								relFields = append(relFields, rel.Field)
    							}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

            // Subtract this!
    
            else -> {
              val nextMinusKey = next.plus(key, null)
              when {
                nextMinusKey === next -> this
    
                // Same as the following line, but with fewer allocations.
                else -> LinkedTags(this.key, this.value, nextMinusKey)
              }
            }
          }
    
        // Return a new `Tags` that maps `key` to `value`.
        return when {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/asm/testdata/loong64enc2.s

    	XOR	$4096, R4, R5		// 3e00001485f81500
    	XOR	$65536, R4		// 1e02001484f81500
    	XOR	$4096, R4		// 3e00001484f81500
    	XOR	$-1, R4, R5		// 1efcbf0285f81500
    	XOR	$-1, R4			// 1efcbf0284f81500
    
    	// relocation instructions
    	MOVW	R4, name(SB)		// 1e00001ac4038029
    	MOVWU	R4, name(SB)		// 1e00001ac4038029
    	MOVV	R4, name(SB)		// 1e00001ac403c029
    	MOVB	R4, name(SB)		// 1e00001ac4030029
    	MOVBU	R4, name(SB)		// 1e00001ac4030029
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 27 00:46:52 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. tests/multi_primary_keys_test.go

    		t.Fatalf("Should find 3 tags")
    	}
    
    	var blog1 Blog
    	DB.Preload("Tags").Find(&blog1)
    	if !compareTags(blog1.Tags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Preload many2many relations")
    	}
    
    	// Replace
    	tag5 := &Tag{Locale: "ZH", Value: "tag5"}
    	tag6 := &Tag{Locale: "ZH", Value: "tag6"}
    	DB.Model(&blog).Association("Tags").Replace(tag5, tag6)
    	var tags2 []Tag
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:27:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  9. migrator/migrator.go

    							return err
    						}
    					}
    				}
    
    				if !m.DB.DisableForeignKeyConstraintWhenMigrating && !m.DB.IgnoreRelationshipsWhenMigrating {
    					for _, rel := range stmt.Schema.Relationships.Relations {
    						if rel.Field.IgnoreMigration {
    							continue
    						}
    						if constraint := rel.ParseConstraint(); constraint != nil &&
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  10. internal/mountinfo/mountinfo_linux_test.go

    		}
    
    		mp := []mountInfo{
    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    		msg := fmt.Sprintf("Cross-device mounts detected on path (/path/to/1) at following locations %s. Export path should not have any sub-mounts, refusing to start.", mp)
    		if err.Error() != msg {
    			t.Fatalf("Expected msg %s, got %s", msg, err)
    		}
    	}
    	// Failure case when input path is not absolute.
    	{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
Back to Top