Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 266 for umagic (0.11 sec)

  1. src/runtime/testdata/testprog/syscalls_linux.go

    import (
    	"bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"os"
    	"syscall"
    )
    
    func gettid() int {
    	return syscall.Gettid()
    }
    
    func tidExists(tid int) (exists, supported bool, err error) {
    	// Open the magic proc status file for reading with the syscall package.
    	// We want to identify certain valid errors very precisely.
    	statusFile := fmt.Sprintf("/proc/self/task/%d/status", tid)
    	fd, err := syscall.Open(statusFile, syscall.O_RDONLY, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/internal/coverage/encodecounter/encode.go

    	}
    	cfw.stab = nil
    	return nil
    }
    
    func (cfw *CoverageDataWriter) writeHeader(metaFileHash [16]byte) error {
    	// Emit file header.
    	ch := coverage.CounterFileHeader{
    		Magic:     coverage.CovCounterMagic,
    		Version:   coverage.CounterFileVersion,
    		MetaHash:  metaFileHash,
    		CFlavor:   cfw.cflavor,
    		BigEndian: false,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. src/debug/buildinfo/buildinfo.go

    		mod = mod[16 : len(mod)-16]
    	} else {
    		mod = ""
    	}
    
    	return vers, mod, nil
    }
    
    func hasPlan9Magic(magic []byte) bool {
    	if len(magic) >= 4 {
    		m := binary.BigEndian.Uint32(magic)
    		switch m {
    		case plan9obj.Magic386, plan9obj.MagicAMD64, plan9obj.MagicARM:
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. cmd/kubelet/app/plugins.go

    	allPlugins := []volume.VolumePlugin{}
    
    	// The list of plugins to probe is decided by the kubelet binary, not
    	// by dynamic linking or other "magic".  Plugins will be analyzed and
    	// initialized later.
    	//
    	// Kubelet does not currently need to configure volume plugins.
    	// If/when it does, see kube-controller-manager/app/plugins.go for example of using volume.VolumeConfig
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 21:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

      private fun readJournal() {
        fileSystem.read(journalFile) {
          val magic = readUtf8LineStrict()
          val version = readUtf8LineStrict()
          val appVersionString = readUtf8LineStrict()
          val valueCountString = readUtf8LineStrict()
          val blank = readUtf8LineStrict()
    
          if (MAGIC != magic ||
            VERSION_1 != version ||
            appVersion.toString() != appVersionString ||
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  6. src/internal/coverage/encodemeta/encodefile.go

    	}
    
    	// Compute total size
    	tlen := preambleLength
    	for i := 0; i < len(blobs); i++ {
    		tlen += uint64(len(blobs[i]))
    	}
    
    	// Emit header
    	mh := coverage.MetaFileHeader{
    		Magic:        coverage.CovMetaMagic,
    		Version:      coverage.MetaFileVersion,
    		TotalLength:  tlen,
    		Entries:      uint64(len(blobs)),
    		MetaFileHash: finalHash,
    		StrTabOffset: uint32(stOffset),
    		StrTabLength: stSize,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/internal/objfile/plan9obj.go

    	if err != nil {
    		return nil, err
    	}
    	textStart := f.LoadAddress + f.HdrSize
    	return data[ssym.Value-textStart : esym.Value-textStart], nil
    }
    
    func (f *plan9File) goarch() string {
    	switch f.plan9.Magic {
    	case plan9obj.Magic386:
    		return "386"
    	case plan9obj.MagicAMD64:
    		return "amd64"
    	case plan9obj.MagicARM:
    		return "arm"
    	}
    	return ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 01:01:44 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiConnection.groovy

     * While still allowing the ToolingApiConnection to be used as a ProjectConnection.
     * This avoids loading the ProjectConnection class from the test code and postbones loading to the tooling api magic.
     */
    
    trait ProjectConnectionTrait implements ProjectConnection {
    }
    
    class ToolingApiConnection {
        private final Object projectConnection
        private final OutputStream stderr
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  9. src/io/fs/glob.go

    		if err != nil {
    			return m, err
    		}
    		if matched {
    			m = append(m, path.Join(dir, n))
    		}
    	}
    	return
    }
    
    // hasMeta reports whether path contains any of the magic characters
    // recognized by path.Match.
    func hasMeta(path string) bool {
    	for i := 0; i < len(path); i++ {
    		switch path[i] {
    		case '*', '?', '[', '\\':
    			return true
    		}
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. docs/bigdata/README.md

    It was found that the directory staging committer was the fastest among the three, S3A connector should be configured with the following parameters for optimal results:
    
    ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
Back to top