Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 258 for Locale (0.03 seconds)

  1. tests/multi_primary_keys_test.go

    	}
    
    	blog := Blog{
    		Locale:  "ZH",
    		Subject: "subject",
    		Body:    "body",
    		LocaleTags: []Tag{
    			{Locale: "ZH", Value: "tag1"},
    			{Locale: "ZH", Value: "tag2"},
    		},
    	}
    	DB.Save(&blog)
    
    	blog2 := Blog{
    		ID:     blog.ID,
    		Locale: "EN",
    	}
    	DB.Create(&blog2)
    
    	// Append
    	tag3 := &Tag{Locale: "ZH", Value: "tag3"}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            }
    
            private DecimalFormat smallFormat;
            private DecimalFormat largeFormat;
    
            FileSizeFormat(Locale locale) {
                smallFormat = new DecimalFormat("#0.0", new DecimalFormatSymbols(locale));
                largeFormat = new DecimalFormat("###0", new DecimalFormatSymbols(locale));
            }
    
            public String format(long size) {
                return format(size, null);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            return System.getProperty("os.name").toLowerCase(Locale.ROOT).contains("windows");
        }
    
        private static boolean isMacOS() {
            return System.getProperty("os.name").toLowerCase(Locale.ROOT).contains("mac");
        }
    
        private static boolean isAlpine() {
            return System.getProperty("java.vm.vendor").toLowerCase(Locale.ROOT).contains("alpine");
        }
    
        private static class ExecResult {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

    import java.io.File;
    import java.util.Locale;
    import java.util.stream.Stream;
    
    /**
     * OS support
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class Os {
    
        /**
         * The OS Name.
         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomPointerFactory.java

        @Override
        public int getOrder() {
            return 200;
        }
    
        @Override
        public NodePointer createNodePointer(QName name, Object object, Locale locale) {
            if (object instanceof org.codehaus.plexus.util.xml.Xpp3Dom xpp3Dom) {
                object = xpp3Dom.getDom();
            }
            if (object instanceof XmlNode xmlNode) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java

     * under the License.
     */
    package org.apache.maven.cli.transfer;
    
    import java.io.PrintStream;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.LinkedHashMap;
    import java.util.Locale;
    import java.util.Map;
    
    import org.eclipse.aether.transfer.TransferCancelledException;
    import org.eclipse.aether.transfer.TransferEvent;
    import org.eclipse.aether.transfer.TransferResource;
    
    /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Apr 03 11:23:19 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. schema/relationship_test.go

    		},
    	})
    }
    
    func TestMany2ManyWithMultiPrimaryKeys(t *testing.T) {
    	type Tag struct {
    		ID     uint   `gorm:"primary_key"`
    		Locale string `gorm:"primary_key"`
    		Value  string
    	}
    
    	type Blog struct {
    		ID         uint   `gorm:"primary_key"`
    		Locale     string `gorm:"primary_key"`
    		Subject    string
    		Body       string
    		Tags       []Tag `gorm:"many2many:blog_tags;"`
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Aug 18 11:44:52 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  8. .golangci.yml

        - gomodguard
        - govet
        - ineffassign
        - misspell
        - revive
        - staticcheck
        - unconvert
        - unused
        - usetesting
        - whitespace
      settings:
        misspell:
          locale: US
        staticcheck:
          checks:
            - all
            - -SA1008
            - -SA1019
            - -SA4000
            - -SA9004
            - -ST1000
            - -ST1005
            - -ST1016
            - -U1000
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import java.io.File
    import java.util.LinkedList
    import java.util.Locale
    
    interface PerformanceTestBucketProvider {
        fun createPerformanceTestsFor(
            stage: Stage,
            performanceTestCoverage: PerformanceTestCoverage,
        ): List<PerformanceTest>
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 10 02:18:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

    import org.jetbrains.dokka.gradle.tasks.DokkaGeneratePublicationTask;
    
    import java.io.File;
    import java.net.URI;
    import java.net.URISyntaxException;
    import java.util.Locale;
    
    public class GradleKotlinDslReferencePlugin implements Plugin<Project> {
    
        private static final String TASK_NAME = "dokkaGeneratePublicationHtml";
    
        @Override
        public void apply(Project project) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 28 11:34:42 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top