Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 185 for timeFn (0.12 sec)

  1. tensorflow/c/c_test.c

      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

        @Rule BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            server.start()
        }
    
        def "tears down the daemon process when the client disconnects and build does not cancel in a timely manner"() {
            buildFile << """
                task block {
                    doLast {
                        ${server.callFromBuild("block")}
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_386.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Time(t *Time_t) (tt Time_t, err error) {
    	r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
    	tt = Time_t(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_mipsx.go

    //sys	Ioperm(from int, num int, on int) (err error)
    //sys	Iopl(level int) (err error)
    
    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //sys	Lstat(path string, stat *Stat_t) (err error) = SYS_LSTAT64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. src/syscall/types_linux.go

    // Basic types
    
    type (
    	_C_short     C.short
    	_C_int       C.int
    	_C_long      C.long
    	_C_long_long C.longlong
    )
    
    // Time
    
    type Timespec C.struct_timespec
    
    type Timeval C.struct_timeval
    
    type Timex C.struct_timex
    
    type Time_t C.time_t
    
    type Tms C.struct_tms
    
    type Utimbuf C.struct_utimbuf
    
    // Processes
    
    type Rusage C.struct_rusage
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 26 20:15:45 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  6. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

    ) {
      private var lastId: String? = null
    
      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
        fun onRetryChange(timeMs: Long)
      }
    
      /**
       * Process the next event. This will result in a single call to [Callback.onEvent] *unless* the
       * data section was empty. Any number of calls to [Callback.onRetryChange] may occur while
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/syscall/exec_linux_test.go

    	}
    
    	// Inode number of the time namespaces should be different.
    	// Based on https://man7.org/linux/man-pages/man7/time_namespaces.7.html#EXAMPLES
    	timens, err := os.Readlink("/proc/self/ns/time")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	parentTimeNS := timens
    	childTimeNS := string(out)
    	if childTimeNS == parentTimeNS {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_386.go

    	if errno != 0 {
    		return 0, errno
    	}
    	return newoffset, nil
    }
    
    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    // On x86 Linux, all the socket calls go through an extra indirection,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. src/internal/trace/parser.go

    package trace
    
    // Frame is a frame in stack traces.
    type Frame struct {
    	PC   uint64
    	Fn   string
    	File string
    	Line int
    }
    
    const (
    	// Special P identifiers:
    	FakeP    = 1000000 + iota
    	TimerP   // depicts timer unblocks
    	NetpollP // depicts network unblocks
    	SyscallP // depicts returns from syscalls
    	GCP      // depicts GC state
    	ProfileP // depicts recording of CPU profile samples
    )
    
    // Event types in the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/DaemonStateControl.java

         *
         * <p>If any long running command is currently running, this method does block for certain time to give chance to perform cancellation, and if the command
         * doesn't finnish in a timely manner a request for forceful stop will be issued ({@link #requestForcefulStop(String reason)}.</p>
         */
        void cancelBuild();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top