Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 392 for references (0.22 sec)

  1. schema/relationship_test.go

    		SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
    		LocaleTags []Tag `gorm:"many2many:locale_blog_tags;ForeignKey:id,locale;References:id"`
    	}
    
    	checkStructRelation(t, &Blog{},
    		Relation{
    			Name: "Tags", Type: schema.Many2Many, Schema: "Blog", FieldSchema: "Tag",
    			JoinTable: JoinTable{Name: "blog_tags", Table: "blog_tags"},
    			References: []Reference{
    				{"ID", "Blog", "BlogID", "blog_tags", "", true},
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        if (threadStarted) {
          return;
        }
    
        Reference<?> reference;
        while ((reference = queue.poll()) != null) {
          /*
           * This is for the benefit of phantom references. Weak and soft references will have already
           * been cleared by this point.
           */
          reference.clear();
          try {
            ((FinalizableReference) reference).finalizeReferent();
          } catch (Throwable t) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        if (threadStarted) {
          return;
        }
    
        Reference<?> reference;
        while ((reference = queue.poll()) != null) {
          /*
           * This is for the benefit of phantom references. Weak and soft references will have already
           * been cleared by this point.
           */
          reference.clear();
          try {
            ((FinalizableReference) reference).finalizeReferent();
          } catch (Throwable t) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       *   <li>clearing weak references to unreachable referents
       *   <li>enqueuing weak references to unreachable referents in their reference queue
       * </ul>
       */
      @DoNotMock("Implement with a lambda")
      public interface FinalizationPredicate {
        boolean isDone();
      }
    
      /**
       * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

       *   <li>clearing weak references to unreachable referents
       *   <li>enqueuing weak references to unreachable referents in their reference queue
       * </ul>
       */
      @DoNotMock("Implement with a lambda")
      public interface FinalizationPredicate {
        boolean isDone();
      }
    
      /**
       * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. schema/relationship.go

    	}
    
    	references := make([]interface{}, 0, len(constraint.References))
    	for _, field := range constraint.References {
    		references = append(references, clause.Column{Name: field.DBName})
    	}
    	vars = append(vars, clause.Table{Name: constraint.Name}, foreignKeys, clause.Table{Name: constraint.ReferenceSchema.Table}, references)
    	return
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  7. schema/schema_test.go

    	// check relations
    	relations := []Relation{
    		{
    			Name: "Account", Type: schema.HasOne, Schema: "User", FieldSchema: "Account",
    			References: []Reference{{"ID", "User", "UserID", "Account", "", true}},
    		},
    		{
    			Name: "Pets", Type: schema.HasMany, Schema: "User", FieldSchema: "Pet",
    			References: []Reference{{"ID", "User", "UserID", "Pet", "", true}},
    		},
    		{
    			Name: "Toys", Type: schema.HasMany, Schema: "User", FieldSchema: "Toy",
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:31:23 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. callbacks/associations.go

    									}
    								}
    
    								elems = reflect.Append(elems, rv)
    							}
    						}
    					}
    
    					if elems.Len() > 0 {
    						assignmentColumns := make([]string, 0, len(rel.References))
    						for _, ref := range rel.References {
    							assignmentColumns = append(assignmentColumns, ref.ForeignKey.DBName)
    						}
    
    						saveAssociations(db, rel, elems, selectColumns, restricted, assignmentColumns)
    					}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            assertEquals(1, result.getProject().getArtifacts().size());
            assertNotNull(result.getDependencyResolutionResult());
        }
    
        /**
         * Tests whether local version range parent references are build correctly.
         *
         * @throws Exception in case of issue
         */
        @Test
        void testBuildValidParentVersionRangeLocally() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jun 19 15:04:04 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        /**
         * It only makes sense to provide type for the references which reference some actual properties/variables.
         *
         * In cases when the name reference references a function (a REAL function, not a functional type variable), it does not
         * make sense to provide any type for it.
         *
         * ---
         *
         * Why not just always provide null for name references? In such case, the following case would be a problem:
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
Back to top