Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 2,524 for languageLC (0.07 seconds)

  1. tests/association_generics_test.go

    	}
    
    	// Verify the languages were associated using real database query
    	var updatedUser User
    	if err := DB.Preload("Languages").Where("id = ?", user.ID).First(&updatedUser).Error; err != nil {
    		t.Fatalf("failed to find updated user: %v", err)
    	}
    
    	if len(updatedUser.Languages) != 2 {
    		t.Fatalf("expected 2 languages, got %d", len(updatedUser.Languages))
    	}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  2. tests/update_many2many_test.go

    	}
    
    	user.Languages = []Language{{Code: "zh-CN", Name: "Chinese"}, {Code: "en", Name: "English"}}
    	for _, lang := range user.Languages {
    		DB.Create(&lang)
    	}
    	user.Friends = []*User{{Name: "friend-1"}, {Name: "friend-2"}}
    
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 1.3K bytes
    - Click Count (0)
  3. tests/associations_test.go

    	}
    	if err := DB.Model(&user).Association("Languages").Append(map[string]interface{}{"code": "am2m_map_3", "name": "AppendMap3"}); err != nil {
    		t.Fatalf("append map 3: %v", err)
    	}
    	AssertAssociationCount(t, user, "Languages", 3, "after append 3 maps total")
    
    	// Verify codes exist
    	var langs []Language
    	if err := DB.Model(&user).Association("Languages").Find(&langs); err != nil {
    		t.Fatalf("find languages: %v", err)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  4. .github/workflows/build-docs.yml

                requirements**.txt
                pyproject.toml
          - name: Install docs extras
            run: uv pip install -r requirements-docs.txt
          - name: Update Languages
            run: python ./scripts/docs.py update-languages
          - uses: actions/cache@v4
            with:
              key: mkdocs-cards-${{ matrix.lang }}-${{ github.ref }}
              path: docs/${{ matrix.lang }}/.cache
          - name: Build Docs
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. tests/update_test.go

    	result.Toys = append(user.Toys, result.Toys...)
    
    	sort.Slice(result.Languages, func(i, j int) bool {
    		return strings.Compare(result.Languages[i].Code, result.Languages[j].Code) > 0
    	})
    
    	sort.Slice(result.Toys, func(i, j int) bool {
    		return result.Toys[i].ID < result.Toys[j].ID
    	})
    
    	sort.Slice(result2.Languages, func(i, j int) bool {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  6. tests/scopes_test.go

    						return d.Or(DB.Where("b = 2").Or("c = 3"))
    					},
    				).Find(&Language{})
    			},
    			expected: `SELECT * FROM "languages" WHERE z = 0 AND a = 1 OR (b = 2 OR c = 3)`,
    		}, {
    			name: "depth_2",
    			queryFn: func(tx *gorm.DB) *gorm.DB {
    				return tx.Scopes(
    					func(d *gorm.DB) *gorm.DB { return d.Model(&Language{}) },
    					func(d *gorm.DB) *gorm.DB {
    						return d.
    							Or(DB.Scopes(
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @param scope the scope of the sources to return, or {@code null} for all scopes
         * @param language the language of the sources to return, or {@code null} for all languages
         */
        @Nonnull
        Stream<SourceRoot> getEnabledSourceRoots(
                @Nonnull Project project, @Nullable ProjectScope scope, @Nullable Language language);
    
        /**
         * Adds the given source to the given project.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Gradle's public API requires equal access from all JVM-based languages.
    Kotlin, Groovy, Java, and other JVM-based languages should be able to use the Gradle API without relying on another language's standard library.
    
    Historically, Gradle has shipped with some Groovy types in very prominent APIs.
    This required the Kotlin DSL to add special integration to work with Groovy closures.
    This has also forced plugins written in languages other than Groovy to use Groovy types for some APIs.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  9. tensorflow/c/checkpoint_reader.h

    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    // checkpoint::TensorSliceReader (for V1), that is more easily SWIG wrapped for
    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    class CheckpointReader {
     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Click Count (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

     * to the specific provider interface being implemented.
     * <p>
     * Example implementation for a custom language provider:
     * <pre>
     * public class CustomLanguageProvider implements LanguageProvider {
     *     public Collection&lt;Language&gt; provides() {
     *         return Arrays.asList(
     *             language("kotlin"),
     *             language("scala")
     *         );
     *     }
     * }
     * </pre>
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top