Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 219 for tzset (0.17 sec)

  1. src/time/zoneinfo.go

    		if tx.index == 0 {
    			return true
    		}
    	}
    	return false
    }
    
    // tzset takes a timezone string like the one found in the TZ environment
    // variable, the time of the last time zone transition expressed as seconds
    // since January 1, 1970 00:00:00 UTC, and a time expressed the same way.
    // We call this a tzset string since in C the function tzset reads TZ.
    // The return values are as for lookup, plus ok which reports whether the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. src/time/export_test.go

    	GetMono                = (*Time).mono
    	ErrLocation            = errLocation
    	ReadFile               = readFile
    	LoadTzinfo             = loadTzinfo
    	NextStdChunk           = nextStdChunk
    	Tzset                  = tzset
    	TzsetName              = tzsetName
    	TzsetOffset            = tzsetOffset
    )
    
    func LoadFromEmbeddedTZData(zone string) (string, error) {
    	return loadFromEmbeddedTZData(zone)
    }
    
    type RuleKind int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 19:23:32 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. src/time/zoneinfo_test.go

    		{"KST-9", 592333200, 1677246697, "KST", 9 * 60 * 60, 592333200, 1<<63 - 1, false, true},
    	} {
    		name, off, start, end, isDST, ok := time.Tzset(test.inStr, test.inEnd, test.inSec)
    		if name != test.name || off != test.off || start != test.start || end != test.end || isDST != test.isDST || ok != test.ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 13 17:06:56 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  4. src/time/zoneinfo_read.go

    				// If we're at the end of the known zone transitions,
    				// try the extend string.
    				if name, offset, estart, eend, isDST, ok := tzset(l.extend, l.cacheStart, sec); ok {
    					l.cacheStart = estart
    					l.cacheEnd = eend
    					// Find the zone that is returned by tzset to avoid allocation if possible.
    					if zoneIdx := findZone(l.zone, name, offset, isDST); zoneIdx != -1 {
    						l.cacheZone = &l.zone[zoneIdx]
    					} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDependencyTest.groovy

        def "flattens collections"() {
            when:
            dependency.add(toSet(otherTask))
    
            then:
            dependency.getDependencies(task) == toSet(otherTask)
        }
    
        def "flattens maps"() {
            when:
            dependency.add([key: otherTask])
    
            then:
            dependency.getDependencies(task) == toSet(otherTask)
        }
    
        def "flattens arrays"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typeparams/normalize.go

    			}
    		}()
    	}
    
    	const maxTermCount = 100
    	if tset, ok := seen[t]; ok {
    		if !tset.complete {
    			return nil, fmt.Errorf("cycle detected in the declaration of %s", t)
    		}
    		return tset, nil
    	}
    
    	// Mark the current type as seen to avoid infinite recursion.
    	tset := new(termSet)
    	defer func() {
    		tset.complete = true
    	}()
    	seen[t] = tset
    
    	switch u := t.Underlying().(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/FileCollectionSpec.groovy

            dir1.file("ignored1").createFile()
            def collection = containing(file1, file2, dir1, missing)
    
            expect:
            assertSetContainsForFileSet(collection, toSet("f1", "f2"))
            assertSetContainsForMatchingTask(collection, toSet("f1", "f2"))
        }
    
        void includesFilesAndContentsOfDirectoriesWhenConvertedToTreeAndAddedToAntBuilder() {
            TestFile testDir = this.testDir.getTestDirectory()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/configure/NativeComponentRulesTest.groovy

            }
        }
    
        def "does not use variant dimension names for single valued dimensions"() {
            when:
            NativeComponentRules.createBinariesImpl(component, platforms, [buildType].toSet(), [flavor].toSet(), nativePlatforms, nativeDependencyResolver, TestFiles.fileCollectionFactory())
    
            then:
            _ * component.targetPlatforms >> [platformRequirement]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java-library/src/test/groovy/org/gradle/api/plugins/JavaLibraryPluginTest.groovy

            then:
            testCompileClasspath.extendsFrom == toSet(testCompileOnly, testImplementation)
            !testCompileClasspath.visible
            testCompileClasspath.transitive
    
            when:
            def defaultConfig = project.configurations.getByName(Dependency.DEFAULT_CONFIGURATION)
    
            then:
            defaultConfig.extendsFrom == toSet(runtimeElements)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 20:08:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/factories/NormalizingExcludeFactory.java

            }
            if (groupSetExcludes.size() > 1) {
                groupSetExcludes = ImmutableList.of(delegate.groupSet(groupSetExcludes.stream().flatMap(e -> e.getGroups().stream()).collect(toSet())));
            }
            if (moduleSetExcludes.size() > 1) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 17.4K bytes
    - Viewed (0)
Back to top