Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 697 for locabs (0.16 sec)

  1. src/time/time.go

    }
    
    func unixTime(sec int64, nsec int32) Time {
    	return Time{uint64(nsec), sec + unixToInternal, Local}
    }
    
    // UTC returns t with the location set to UTC.
    func (t Time) UTC() Time {
    	t.setLoc(&utcLoc)
    	return t
    }
    
    // Local returns t with the location set to local time.
    func (t Time) Local() Time {
    	t.setLoc(Local)
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/time/format.go

    		t.addSec(-int64(zoneOffset))
    
    		// Look for local zone with the given offset.
    		// If that zone was in effect at the given time, use it.
    		name, offset, _, _, _ := local.lookup(t.unixSec())
    		if offset == zoneOffset && (zoneName == "" || name == zoneName) {
    			t.setLoc(local)
    			return t, nil
    		}
    
    		// Otherwise create fake zone to record offset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/LocaleSupportDaemonIntegrationTest.groovy

                    }
                }
            """
    
            when:
            runWithLocale locales[0]
    
            then:
            ranWithLocale locales[0]
            daemons.daemons.size() == 1
    
            when:
            runWithLocale locales[1]
    
            then:
            ranWithLocale locales[1]
            daemons.daemons.size() == 2
        }
    
        def "locale is restored after build"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                sourceFile('LocaleHolder.java').withSource("""
                    import java.util.Locale;
    
                    class LocaleHolder {
                        private static Locale locale;
    
                        public static Locale set(Locale locale) {
                            Locale old = LocaleHolder.locale;
                            LocaleHolder.locale = locale;
                            return old;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy

                    @ExtendWith(Locales.class)
                    @Tag("TagA")
                    public class SomeMoreLocaleTests {
                        @TestTemplate
                        public void someMoreTest1(Locale locale) {
                            System.out.println("Locale in use: " + locale);
                        }
    
                        @TestTemplate
                        public void someMoreTest2(Locale locale) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/attributes/ImmutableAttributes.java

         *
         * @param key the attribute to locate in this container (name <strong>and type</strong> much match)
         * @return the value for the attribute in this container, or {@link AttributeValue#MISSING} if not present
         */
        <T> AttributeValue<T> findEntry(Attribute<T> key);
    
        /**
         * Locates the entry for the attribute with the given name.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

     * under the License.
     */
    package org.apache.maven.model.locator;
    
    import java.io.File;
    import java.nio.file.Path;
    
    /**
     * Locates a POM file within a project base directory.
     *
     */
    public interface ModelLocator {
    
        /**
         * Locates the POM file within the specified project directory. In case the given project directory does not exist
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         */
        String STRICT = "strict";
    
        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/DefaultModuleRegistryTest.groovy

            when:
            registry.getModule("gradle-other-module")
    
            then:
            UnknownModuleException e = thrown()
            e.message == "Cannot locate JAR for module 'gradle-other-module' in distribution directory '$distDir'."
        }
    
        def "locates an external module as a JAR on the classpath"() {
            given:
            def cl = classLoaderFor([runtimeDep])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/local.txt

    Yan Zhulanow <******@****.***> 1687193210 +0900
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 07 16:22:01 UTC 2023
    - 147 bytes
    - Viewed (0)
Back to top