Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,041 for Darwin (0.18 sec)

  1. depends/builders/darwin.mk

    build_darwin_CC:=$(shell xcrun -f clang) --sysroot $(shell xcrun --show-sdk-path)
    build_darwin_CXX:=$(shell xcrun -f clang++) --sysroot $(shell xcrun --show-sdk-path)
    build_darwin_AR:=$(shell xcrun -f ar)
    build_darwin_RANLIB:=$(shell xcrun -f ranlib)
    build_darwin_STRIP:=$(shell xcrun -f strip)
    build_darwin_OTOOL:=$(shell xcrun -f otool)
    build_darwin_NM:=$(shell xcrun -f nm)
    build_darwin_INSTALL_NAME_TOOL:=$(shell xcrun -f install_name_tool)
    Plain Text
    - Registered: 2020-12-01 01:31
    - Last Modified: 2020-07-07 20:25
    - 1.2K bytes
    - Viewed (0)
  2. depends/hosts/darwin.mk

    darwin_release_CFLAGS=-O2
    darwin_release_CXXFLAGS=$(darwin_release_CFLAGS)
    
    darwin_debug_CFLAGS=-O1
    darwin_debug_CXXFLAGS=$(darwin_debug_CFLAGS)
    
    darwin_native_binutils=native_cctools
    ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
    darwin_native_toolchain=native_cctools
    else
    darwin_native_toolchain=
    endif
    
    Plain Text
    - Registered: 2020-12-01 01:31
    - Last Modified: 2020-11-18 13:46
    - 1.8K bytes
    - Viewed (0)
  3. vendor/golang.org/x/sys/unix/dev_darwin.go

    // encoding used in Darwin's sys/types.h header.
    
    package unix
    
    // Major returns the major component of a Darwin device number.
    func Major(dev uint64) uint32 {
    	return uint32((dev >> 24) & 0xff)
    }
    
    // Minor returns the minor component of a Darwin device number.
    func Minor(dev uint64) uint32 {
    	return uint32(dev & 0xffffff)
    }
    
    // Mkdev returns a Darwin device number generated from the given major and minor
    Go
    - Registered: 2020-09-17 01:10
    - Last Modified: 2018-01-24 23:26
    - 747 bytes
    - Viewed (0)
  4. packages/launcher/test/unit/darwin_spec.ts

    import _ from 'lodash'
    import * as darwinHelper from '../../lib/darwin'
    import * as linuxHelper from '../../lib/linux'
    import * as darwinUtil from '../../lib/darwin/util'
    import { utils } from '../../lib/utils'
    import { expect } from 'chai'
    import sinon, { SinonStub } from 'sinon'
    import { browsers } from '../../lib/browsers'
    import Bluebird from 'bluebird'
    import fse from 'fs-extra'
    import snapshot from 'snap-shot-it'
    
    Plain Text
    - Registered: 2020-11-27 08:39
    - Last Modified: 2020-04-20 04:40
    - 2.2K bytes
    - Viewed (0)
  5. transport/internet/sockopt_darwin.go

    package internet
    
    import (
    	"syscall"
    )
    
    const (
    	// TCP_FASTOPEN is the socket option on darwin for TCP fast open.
    	TCP_FASTOPEN = 0x105
    	// TCP_FASTOPEN_SERVER is the value to enable TCP fast open on darwin for server connections.
    	TCP_FASTOPEN_SERVER = 0x01
    	// TCP_FASTOPEN_CLIENT is the value to enable TCP fast open on darwin for client connections.
    	TCP_FASTOPEN_CLIENT = 0x02
    )
    
    Go
    - Registered: 2020-11-25 06:07
    - Last Modified: 2020-07-30 17:20
    - 1.5K bytes
    - Viewed (0)
  6. tsdb/fileutil/sync_darwin.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // +build darwin
    
    package fileutil
    
    import (
    	"os"
    )
    
    // Fdatasync on darwin platform invokes fcntl(F_FULLFSYNC) for actual persistence
    // on physical drive media.
    func Fdatasync(f *os.File) error {
    	return f.Sync()
    Go
    - Registered: 2020-11-25 16:43
    - Last Modified: 2019-08-13 08:28
    - 812 bytes
    - Viewed (0)
  7. pkg/fileutil/sync_darwin.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // +build darwin
    
    package fileutil
    
    import (
    	"os"
    
    	"golang.org/x/sys/unix"
    )
    
    // Fsync on HFS/OSX flushes the data on to the physical drive but the drive
    Go
    - Registered: 2020-11-26 01:10
    - Last Modified: 2020-09-25 06:02
    - 1.2K bytes
    - Viewed (0)
  8. tools/etcd-dump-metrics/install_darwin.go

    // limitations under the License.
    
    // +build darwin
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"net/http"
    	"os"
    	"os/exec"
    	"path/filepath"
    
    	"go.etcd.io/etcd/pkg/v3/fileutil"
    )
    
    const downloadURL = `https://storage.googleapis.com/etcd/%s/etcd-%s-darwin-amd64.zip`
    
    func install(ver, dir string) (string, error) {
    	ep := fmt.Sprintf(downloadURL, ver, ver)
    Go
    - Registered: 2020-11-26 01:10
    - Last Modified: 2020-10-12 22:09
    - 1.5K bytes
    - Viewed (0)
  9. pkg/fileutil/preallocate_darwin.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    // +build darwin
    
    package fileutil
    
    import (
    	"os"
    	"syscall"
    
    	"golang.org/x/sys/unix"
    )
    
    func preallocExtend(f *os.File, sizeInBytes int64) error {
    	if err := preallocFixed(f, sizeInBytes); err != nil {
    Go
    - Registered: 2020-11-26 01:10
    - Last Modified: 2020-09-25 06:02
    - 1.9K bytes
    - Viewed (0)
  10. lib/protocol/nativemodel_darwin.go

    // Copyright (C) 2014 The Protocol Authors.
    
    // +build darwin
    
    package protocol
    
    // Darwin uses NFD normalization
    
    import "golang.org/x/text/unicode/norm"
    
    type nativeModel struct {
    	Model
    }
    
    func (m nativeModel) Index(deviceID DeviceID, folder string, files []FileInfo) error {
    	for i := range files {
    		files[i].Name = norm.NFD.String(files[i].Name)
    	}
    	return m.Model.Index(deviceID, folder, files)
    }
    
    Go
    - Registered: 2020-12-02 01:19
    - Last Modified: 2019-12-04 09:46
    - 927 bytes
    - Viewed (0)
Back to top