- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for localtime (0.15 sec)
-
src/time/zoneinfo_unix.go
// no $TZ means use the system default /etc/localtime. // $TZ="" means use UTC. // $TZ="foo" or $TZ=":foo" if foo is an absolute path, then the file pointed // by foo will be used to initialize timezone; otherwise, file // /usr/share/zoneinfo/foo will be used. tz, ok := syscall.Getenv("TZ") switch { case !ok: z, err := loadLocation("localtime", []string{"/etc"}) if err == nil { localLoc = *z
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 04 02:26:55 UTC 2023 - 1.7K bytes - Viewed (0) -
cluster/addons/node-problem-detector/npd.yaml
mountPath: /dev/kmsg readOnly: true - name: localtime mountPath: /etc/localtime readOnly: true volumes: - name: log hostPath: path: /var/log/ - name: kmsg hostPath: path: /dev/kmsg - name: localtime hostPath: path: /etc/localtime type: "FileOrCreate"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 04:14:02 UTC 2024 - 2.6K bytes - Viewed (0) -
src/time/zoneinfo_unix_test.go
localZoneName := "Local" // The file may not exist. if _, err := os.Stat("/etc/localtime"); os.IsNotExist(err) { localZoneName = "UTC" } cases := []struct { nilFlag bool tz string local string }{ // no $TZ means use the system default /etc/localtime. {true, "", localZoneName}, // $TZ="" means use UTC. {false, "", "UTC"}, {false, ":", "UTC"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 2.3K bytes - Viewed (0) -
build/build-image/Dockerfile
&& git config --system user.name "kube-build-image" # Fix permissions on gopath RUN chmod -R a+rwx $GOPATH # Make log messages use the right timezone ADD localtime /etc/localtime RUN chmod a+r /etc/localtime # Set up rsyncd ADD rsyncd.password / RUN chmod a+r /rsyncd.password ADD rsyncd.sh /
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 05 23:26:09 UTC 2021 - 1.8K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidPluginsSmokeTest.groovy
} @Override public void onStart() { super.onStart(); LocalTime currentTime = new LocalTime(); TextView textView = (TextView) findViewById(R.id.text_view); textView.setText("The current local time is: " + currentTime); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 16K bytes - Viewed (0) -
common/scripts/setup_env.sh
fi if [[ "${IMAGE_NAME:-}" == "" ]]; then IMAGE_NAME=build-tools fi DOCKER_GID="${DOCKER_GID:-$(grep '^docker:' /etc/group | cut -f3 -d:)}" TIMEZONE=$(readlink "$readlink_flags" /etc/localtime | sed -e 's/^.*zoneinfo\///') TARGET_OUT="${TARGET_OUT:-$(pwd)/out/${TARGET_OS}_${TARGET_ARCH}}" TARGET_OUT_LINUX="${TARGET_OUT_LINUX:-$(pwd)/out/linux_${TARGET_ARCH}}"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 14:37:27 UTC 2024 - 8.3K bytes - Viewed (0) -
src/time/zoneinfo.go
var utcLoc = Location{name: "UTC"} // Local represents the system's local time zone. // On Unix systems, Local consults the TZ environment // variable to find the time zone to use. No TZ means // use the system default /etc/localtime. // TZ="" means use UTC. // TZ="foo" means use file foo in the system timezone directory. var Local *Location = &localLoc // localLoc is separate so that initLocal can initialize
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 18.2K bytes - Viewed (0) -
build/common.sh
# Make sure the context directory owned by the right user for syncing sources to container. chown -R "${USER_ID}":"${GROUP_ID}" "${LOCAL_OUTPUT_BUILD_CONTEXT}" cp /etc/localtime "${LOCAL_OUTPUT_BUILD_CONTEXT}/" chmod u+w "${LOCAL_OUTPUT_BUILD_CONTEXT}/localtime" cp "${KUBE_ROOT}/build/build-image/Dockerfile" "${LOCAL_OUTPUT_BUILD_CONTEXT}/Dockerfile" cp "${KUBE_ROOT}/build/build-image/rsyncd.sh" "${LOCAL_OUTPUT_BUILD_CONTEXT}/"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:13:15 UTC 2024 - 26.5K bytes - Viewed (0) -
src/time/zoneinfo_read.go
// initialized from the IANA Time Zone database-formatted data. // The data should be in the format of a standard IANA time zone file // (for example, the content of /etc/localtime on Unix systems). func LoadLocationFromTZData(name string, data []byte) (*Location, error) { d := dataIO{data, false} // 4-byte magic "TZif" if magic := d.read(4); string(magic) != "TZif" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestExecutionTest.groovy
result.baseline("1.0").results << operation(totalTime: 100) result.baseline("1.0").results << operation(totalTime: 100) result.baseline("1.0").results << operation(totalTime: 100) result.baseline("1.0").results << operation(totalTime: 100) result.baseline("1.0").results << operation(totalTime: 100) result.baseline("1.0").results << operation(totalTime: 100)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.1K bytes - Viewed (0)