Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 858 for Off (0.02 sec)

  1. src/time/sys_plan9.go

    	return syscall.Read(int(fd), buf)
    }
    
    func closefd(fd uintptr) {
    	syscall.Close(int(fd))
    }
    
    func preadn(fd uintptr, buf []byte, off int) error {
    	whence := seekStart
    	if off < 0 {
    		whence = seekEnd
    	}
    	if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
    		return err
    	}
    	for len(buf) > 0 {
    		m, err := syscall.Read(int(fd), buf)
    		if m <= 0 {
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1016 bytes
    - Viewed (0)
  2. src/cmd/link/internal/mips/asm.go

    			// set up addend for eventual relocation via outer symbol.
    			_, off := ld.FoldSubSymbolOffset(ldr, rs)
    			xadd := r.Add() + off
    			return applyrel(target.Arch, ldr, r.Type(), r.Off(), s, val, xadd), 1, true
    
    		case objabi.R_ADDRMIPSTLS, objabi.R_CALLMIPS, objabi.R_JMPMIPS:
    			return applyrel(target.Arch, ldr, r.Type(), r.Off(), s, val, r.Add()), 1, true
    		}
    	}
    
    	const isOk = true
    	const noExtReloc = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/cmd/internal/bio/buf_mmap.go

    		return nil, false
    	}
    
    	// Page-align the offset.
    	off := r.Offset()
    	align := syscall.Getpagesize()
    	aoff := off &^ int64(align-1)
    
    	data, err := syscall.Mmap(int(r.f.Fd()), aoff, int(length+uint64(off-aoff)), syscall.PROT_READ, syscall.MAP_SHARED|syscall.MAP_FILE)
    	if err != nil {
    		return nil, false
    	}
    
    	data = data[off-aoff:]
    	r.MustSeek(int64(length), 1)
    	return data, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                e.type = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = ( off & 0xFFFF ) - this.converter;
                off = start + off;
                e.commentOrMasterBrowser = readString(buffer, off, 48, false);
    
                if ( log.isTraceEnabled() ) {
                    log.trace(e.toString());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/internal/buildid/note.go

    			valSize = (valSize + 3) &^ 3
    			notesz := uint64(12 + nameSize + valSize)
    			if filesz <= notesz {
    				break
    			}
    			off += notesz
    			align := p.Align
    			if align != 0 {
    				alignedOff := (off + align - 1) &^ (align - 1)
    				notesz += alignedOff - off
    				off = alignedOff
    			}
    			filesz -= notesz
    			note = note[notesz:]
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 20:40:42 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/admission_test.go

    		},
    
    		// scenario 1: use default off plugins if no specified
    		{
    			expectedPluginNames:       []string{"pluginB"},
    			setRecommendedPluginOrder: []string{"pluginA", "pluginB", "pluginC", "pluginD"},
    			setDefaultOffPlugins:      sets.New("pluginA", "pluginC", "pluginD"),
    		},
    
    		// scenario 2: use default off plugins and with RecommendedPluginOrder
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

    
        /**
         * 
         * @param config
         * @param b
         * @param off
         */
        public SmbComReadAndXResponse ( Configuration config, byte[] b, int off ) {
            super(config);
            this.data = b;
            this.offset = off;
        }
    
    
        void setParam ( byte[] b, int off ) {
            this.data = b;
            this.offset = off;
        }
    
    
        /**
         * 
         * @return the read data
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  8. src/syscall/dirent.go

    	"runtime"
    	"unsafe"
    )
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    	if len(b) < int(off+size) {
    		return 0, false
    	}
    	if goarch.BigEndian {
    		return readIntBE(b[off:], size), true
    	}
    	return readIntLE(b[off:], size), true
    }
    
    func readIntBE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/AbstractHashFunction.java

      public HashCode hashBytes(byte[] input) {
        return hashBytes(input, 0, input.length);
      }
    
      @Override
      public HashCode hashBytes(byte[] input, int off, int len) {
        checkPositionIndexes(off, off + len, input.length);
        return newHasher(len).putBytes(input, off, len).hash();
      }
    
      @Override
      public HashCode hashBytes(ByteBuffer input) {
        return newHasher(input.remaining()).putBytes(input).hash();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. src/go/internal/gccgoimporter/ar.go

    		} else {
    			archiveAt := readerAtFromSeeker(archive)
    			ret, err := elfFromAr(io.NewSectionReader(archiveAt, off, size))
    			if ret != nil || err != nil {
    				return ret, err
    			}
    		}
    
    		if size&1 != 0 {
    			size++
    		}
    		off += size
    		if _, err := archive.Seek(off, io.SeekStart); err != nil {
    			return nil, err
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 14:14:36 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top