Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 835 for locabs (0.17 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/LocaleSafeDecimalFormatTest.java

    import org.junit.After;
    import org.junit.Test;
    
    import java.math.BigDecimal;
    import java.util.Locale;
    
    import static org.junit.Assert.assertEquals;
    
    public class LocaleSafeDecimalFormatTest {
    
        Locale defaultLocale = Locale.getDefault();
    
        @After
        public void revertLocalToDefault() {
            Locale.setDefault(defaultLocale);
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

         *
         * @param s
         *            数値を表す文字列
         * @param locale
         *            ロケール。{@literal null}であってはいけません
         * @return 正規化された文字列
         */
        public static String normalize(final String s, final Locale locale) {
            assertArgumentNotNull("locale", locale);
    
            if (s == null) {
                return null;
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. 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"}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 12.8K bytes
    - Viewed (0)
  4. test/fixedbugs/issue5089.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // issue 5089: gc allows methods on non-locals if symbol already exists
    
    package p
    
    import "bufio"
    
    func (b *bufio.Reader) Buffered() int { // ERROR "non-local|redefinition"
    	return -1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 18 17:53:42 UTC 2018
    - 362 bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CommandLineTaskExecutionIntegrationTest.groovy

            where:
            taskName | message
            ""       | "Cannot locate matching tasks for an empty path. The path should include a task name (for example ':help' or 'help')."
            ":"      | "Cannot locate tasks that match ':'. The path should include a task name (for example ':help' or 'help')."
            "::"     | "Cannot locate tasks that match '::'. The path should include a task name (for example ':help' or 'help')."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:35 UTC 2024
    - 2.3K bytes
    - Viewed (3)
  6. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Locale;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    public class NullArgumentExceptionTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataTest.java

    class RemoteSnapshotMetadataTest {
        private Locale defaultLocale;
    
        private static final Pattern DATE_FILTER = Pattern.compile("\\..*");
    
        @BeforeEach
        void setLocaleToUseBuddhistCalendar() {
            defaultLocale = Locale.getDefault();
            Locale.setDefault(new Locale("th", "TH"));
        }
    
        @AfterEach
        void restoreLocale() {
            Locale.setDefault(defaultLocale);
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 16 11:43:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/AbstractGccCompatibleToolChainTest.groovy

            platform.architecture >> dummyArch
    
            and:
            toolSearchPath.locate(ToolType.C_COMPILER, "gcc") >> compilerMissing
            toolSearchPath.locate(ToolType.CPP_COMPILER, "g++") >> missing
            toolSearchPath.locate(ToolType.OBJECTIVEC_COMPILER, "gcc") >> missing
            toolSearchPath.locate(ToolType.OBJECTIVECPP_COMPILER, "g++") >> missing
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

            def file = tmpDir.createFile("cc.bin")
    
            given:
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> [file.parentFile]
    
            when:
            def result = registry.locate(ToolType.C_COMPILER, "cc")
    
            then:
            result.available
            result.tool == file
        }
    
        def "finds executable in provided path"() {
            def file = tmpDir.createFile("cc.bin")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/preconditions/PluginTestPreconditions.groovy

    import static org.gradle.test.precondition.TestPrecondition.satisfied;
    
    class PluginTestPreconditions {
        static File locate(String shellCommand) {
            return [
                new File("/bin/$shellCommand"),
                new File("/usr/bin/$shellCommand"),
                new File("/usr/local/bin/$shellCommand"),
                new File("/opt/local/bin/$shellCommand")
            ].find { it.exists() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top