Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 835 for locabs (0.35 sec)

  1. src/go/internal/gccgoimporter/testdata/issue29198.gox

     func (t <esc:0x1> <type 28>) .time.unixSec () <type -4>;
     func (t <esc:0x1> <type 12>) Unix () <type -4>;
     func (t <esc:0x1> <type 12>) .time.abs () <type -8>;
     func (t <esc:0x32> <type 12>) .time.locabs () (name <type -16>, offset <type -11>, abs <type -8>);
     func (t <esc:0x1> <type 12>) Date () (year <type -11>, month <type 25>, day <type -11>);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
  2. src/time/format_rfc3339.go

    		}
    		t.addSec(-int64(zoneOffset))
    
    		// Use local zone with the given offset if possible.
    		if _, offset, _, _, _ := local.lookup(t.unixSec()); offset == zoneOffset {
    			t.setLoc(local)
    		} else {
    			t.setLoc(FixedZone("", zoneOffset))
    		}
    	}
    	return t, true
    }
    
    func parseStrictRFC3339(b []byte) (Time, error) {
    	t, ok := parseRFC3339(b, Local)
    	if !ok {
    		t, err := Parse(RFC3339, string(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 19:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. src/go/internal/gccgoimporter/testdata/time.gox

     func (t <type 3>) Before (u <type 3>) <type -15>;
     func (t <type 3>) Equal (u <type 3>) <type -15>;
     func (t <type 3>) IsZero () <type -15>;
     func (t <type 3>) .time.abs () <type -8>;
     func (t <type 3>) .time.locabs () (name <type -16>, offset <type -11>, abs <type -8>);
     func (t <type 3>) Date () (year <type -11>, month <type 18 "Month" <type -11>
     func (m <type 18>) String () <type -16>;
    >, day <type -11>);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. test/fixedbugs/bug424.dir/main.go

    	lib.T
    	localT
    }
    
    func main() {
    	var i localI
    
    	i = new(localT)
    	if i.m() != "main.localT.m" {
    		println("BUG: localT:", i.m(), "called")
    	}
    
    	i = new(myT1)
    	if i.m() != "main.localT.m" {
    		println("BUG: myT1:", i.m(), "called")
    	}
    
    	i = new(myT2)
    	if i.m() != "main.localT.m" {
    		println("BUG: myT2:", i.m(), "called")
    	}
    
    	t3 := new(myT3)
    	if t3.m() != "main.localT.m" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top