Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for adjtime (0.15 sec)

  1. src/syscall/syscall_openbsd.go

    		bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf))
    	}
    	return getfsstat(bufptr, bufsize, flags)
    }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    //sys	Adjtime(delta *Timeval, olddelta *Timeval) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. src/syscall/syscall_netbsd.go

    func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
    	return -1, ENOSYS
    }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    //sys	Adjtime(delta *Timeval, olddelta *Timeval) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  3. src/syscall/syscall_dragonfly.go

    	n = int(r0)
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    //sys	Adjtime(delta *Timeval, olddelta *Timeval) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. src/syscall/syscall_freebsd.go

    }
    
    func Mknod(path string, mode uint32, dev uint64) (err error) {
    	return mknodat(_AT_FDCWD, path, mode, dev)
    }
    
    /*
     * Exposed directly
     */
    //sys	Access(path string, mode uint32) (err error)
    //sys	Adjtime(delta *Timeval, olddelta *Timeval) (err error)
    //sys	Chdir(path string) (err error)
    //sys	Chflags(path string, flags int) (err error)
    //sys	Chmod(path string, mode uint32) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:12:35 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. internal/config/cache/remote.go

    	if ifModifiedSinceHeader != "" {
    		if givenTime, err := amztime.ParseHeader(ifModifiedSinceHeader); err == nil {
    			r.IfModifiedSince = &givenTime
    		}
    	}
    	ifUnmodifiedSinceHeader := header.Get(xhttp.IfUnmodifiedSince)
    	if ifUnmodifiedSinceHeader != "" {
    		if givenTime, err := amztime.ParseHeader(ifUnmodifiedSinceHeader); err == nil {
    			r.IfUnModifiedSince = &givenTime
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. internal/amztime/parse_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package amztime implements AWS specific time parsing and deviations
    package amztime
    
    import (
    	"errors"
    	"testing"
    	"time"
    )
    
    func TestParse(t *testing.T) {
    	type testCase struct {
    		expectedErr  error
    		expectedTime time.Time
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 07 14:24:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  7. pkg/test/echo/server/forwarder/util.go

    			if res != "" && responseTimes[id] != 0 {
    				c++
    				tt += responseTimes[id]
    			}
    		}
    		var avgTime time.Duration
    		if c > 0 {
    			avgTime = tt / time.Duration(c)
    		}
    		return nil, fmt.Errorf("request set timed out after %v and only %d/%d requests completed (%v avg)",
    			cfg.timeout, c, cfg.count, avgTime)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 08 09:39:20 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. internal/amztime/parse.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package amztime implements AWS specific time parsing and deviations
    package amztime
    
    import (
    	"errors"
    	"net/http"
    	"time"
    )
    
    // Supported amz date formats.
    var amzDateFormats = []string{
    	// Do not change this order, x-amz-date format is usually in
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http/HttpDateTest.kt

        assertThat("Thursday, 01-Jan-70 00:00:00 GMT".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Friday, 06-Jun-14 12:30:30 GMT".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
    
        // ANSI C's asctime(): should use GMT, not platform default.
        assertThat("Thu Jan 1 00:00:00 1970".toHttpDateOrNull()!!.time).isEqualTo(0L)
        assertThat("Fri Jun 6 12:30:30 2014".toHttpDateOrNull()!!.time).isEqualTo(1402057830000L)
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. internal/amztime/iso8601_time.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package amztime
    
    import (
    	"strings"
    	"time"
    )
    
    // RFC3339 a subset of the ISO8601 timestamp format. e.g 2014-04-29T18:30:38Z
    const (
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jan 16 23:38:33 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top