Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Nsec (0.18 sec)

  1. src/runtime/sys_linux_ppc64x.s

    	MOVW	flags+0(FP), R4
    	SYSCALL	$SYS_pipe2
    	MOVW	R3, errno+16(FP)
    	RET
    
    // func usleep(usec uint32)
    TEXT runtime·usleep(SB),NOSPLIT,$16-4
    	MOVW	usec+0(FP), R3
    
    	// Use magic constant 0x8637bd06 and shift right 51
    	// to perform usec/1000000.
    	MOVD	$0x8637bd06, R4
    	MULLD	R3, R4, R4	// Convert usec to S.
    	SRD	$51, R4, R4
    	MOVD	R4, 8(R1)	// Store to tv_sec
    
    	MOVD	$1000000, R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/syscall/syscall_aix.go

    //sys	writev(fd int, iovecs []Iovec) (n uintptr, err error)
    
    //sys	gettimeofday(tv *Timeval, tzp *Timezone) (err error)
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func readlen(fd int, buf *byte, nbuf int) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/syscall/fs_wasip1.go

    	atime := TimespecToNsec(ts[0])
    	mtime := TimespecToNsec(ts[1])
    	if ts[0].Nsec == UTIME_OMIT || ts[1].Nsec == UTIME_OMIT {
    		var st Stat_t
    		if err := Stat(path, &st); err != nil {
    			return err
    		}
    		if ts[0].Nsec == UTIME_OMIT {
    			atime = int64(st.Atime)
    		}
    		if ts[1].Nsec == UTIME_OMIT {
    			mtime = int64(st.Mtime)
    		}
    	}
    	errno := path_filestat_set_times(
    		dirFd,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  4. src/log/slog/value.go

    		// mistaken for any other Value, time.Time or otherwise.
    		return Value{any: timeLocation(nil)}
    	}
    	nsec := v.UnixNano()
    	t := time.Unix(0, nsec)
    	if v.Equal(t) {
    		// UnixNano correctly represents the time, so use a zero-alloc representation.
    		return Value{num: uint64(nsec), any: timeLocation(v.Location())}
    	}
    	// Fall back to the general form.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. src/runtime/os_plan9.go

    //go:nosplit
    func usleep(µs uint32) {
    	ms := int32(µs / 1000)
    	if ms == 0 {
    		ms = 1
    	}
    	sleep(ms)
    }
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    //go:nosplit
    func nanotime1() int64 {
    	var scratch int64
    	ns := nsec(&scratch)
    	// TODO(aram): remove hack after I fix _nsec in the pc64 kernel.
    	if ns == 0 {
    		return scratch
    	}
    	return ns
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/time/format_test.go

    			f.Add(ts[0], ts[1], false, false, +offset)
    		}
    	}
    
    	f.Fuzz(func(t *testing.T, sec, nsec int64, useUTC, useLocal bool, tzOffset int) {
    		var loc *Location
    		switch {
    		case useUTC:
    			loc = UTC
    		case useLocal:
    			loc = Local
    		default:
    			loc = FixedZone("", tzOffset)
    		}
    		ts := Unix(sec, nsec).In(loc)
    
    		got := AppendFormatRFC3339(ts, nil, false)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. docs/site-replication/run-ssec-object-replication.sh

    	exit_1
    fi
    
    repcount4=$(./mc ls minio2/test-bucket/custpartsize --insecure | wc -l)
    if [ "${repcount4}" -ne 1 ]; then
    	echo "BUG: object test-bucket/custpartsize not replicated"
    	exit_1
    fi
    
    # Stat the SSEC objects from source site
    echo "Stat minio1/test-bucket/encrypted"
    ./mc stat minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    		crypto.S3KMS.CreateMetadata(metadata, newKey.KeyID, newKey.Ciphertext, sealedKey, cryptoCtx)
    		return nil
    	case crypto.SSEC:
    		sealedKey, err := crypto.SSEC.ParseMetadata(metadata)
    		if err != nil {
    			return err
    		}
    
    		var objectKey crypto.ObjectKey
    		if err = objectKey.Unseal(oldKey, sealedKey, crypto.SSEC.String(), bucket, object); err != nil {
    			if subtle.ConstantTimeCompare(oldKey, newKey) == 1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    	var objectEncryptionKey crypto.ObjectKey
    	if isEncrypted {
    		if !crypto.SSEC.IsRequested(r.Header) && crypto.SSEC.IsEncrypted(mi.UserDefined) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrSSEMultipartEncrypted), r.URL)
    			return
    		}
    		if crypto.S3.IsEncrypted(mi.UserDefined) && crypto.SSEC.IsRequested(r.Header) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrSSEMultipartEncrypted), r.URL)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  10. cmd/object-api-options.go

    	opts.UserDefined[ReservedMetadataPrefix+"Actual-Object-Size"] = r.Header.Get(xhttp.MinIOReplicationActualObjectSize)
    	// Transfer SSEC key in opts.EncryptFn
    	if crypto.SSEC.IsRequested(r.Header) {
    		key, err := ParseSSECustomerRequest(r)
    		if err == nil {
    			// Set EncryptFn to return SSEC key
    			opts.EncryptFn = func(baseKey string, data []byte) []byte {
    				return key
    			}
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top