Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,786 for Off (0.03 sec)

  1. android/guava-tests/test/com/google/common/io/TestCharSink.java

            super.write(c);
            flush();
          }
    
          @Override
          public void write(char[] cbuf, int off, int len) throws IOException {
            super.write(cbuf, off, len);
            flush();
          }
    
          @Override
          public void write(String str, int off, int len) throws IOException {
            super.write(str, off, len);
            flush();
          }
        };
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/BaseEncoding.java

              checkPositionIndexes(off, off + len, buf.length);
    
              int i = off;
              for (; i < off + len; i++) {
                int b = read();
                if (b == -1) {
                  int read = i - off;
                  return read == 0 ? -1 : read;
                }
                buf[i] = (byte) b;
              }
              return i - off;
            }
    
            @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 15 16:33:32 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. src/internal/zstd/zstd.go

    	return ze.err
    }
    
    func (r *Reader) makeEOFError(off int) error {
    	return r.wrapError(off, io.ErrUnexpectedEOF)
    }
    
    func (r *Reader) wrapNonEOFError(off int, err error) error {
    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	return r.wrapError(off, err)
    }
    
    func (r *Reader) makeError(off int, msg string) error {
    	return r.wrapError(off, errors.New(msg))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 04:10:45 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/internal/coverage/encodemeta/encodefile.go

    	off := preambleLength
    	off2 := mhsz
    	buf := make([]byte, 8)
    	for _, blob := range blobs {
    		binary.LittleEndian.PutUint64(buf, off)
    		if _, err = m.w.Write(buf); err != nil {
    			return fmt.Errorf("error writing %s: %v", m.mfname, err)
    		}
    		if m.debug {
    			fmt.Fprintf(os.Stderr, "=+= pkg offset %d 0x%x\n", off, off)
    		}
    		off += uint64(len(blob))
    		off2 += 8
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  5. src/runtime/cgo/gcc_android.c

    	// is enough.
    	get_ver = dlsym(handle, "android_get_device_api_level");
    	dlclose(handle);
    	if (get_ver != NULL) {
    		off = (void *)(TLS_SLOT_APP*sizeof(void *));
    		// tlsg is initialized to Q's free TLS slot. Verify it while we're here.
    		if (*tlsg != off) {
    			fatalf("tlsg offset wrong, got %ld want %ld\n", *tlsg, off);
    		}
    		return;
    	}
    
    	err = pthread_key_create(&k, nil);
    	if(err != 0) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 23:17:17 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssagen/arch.go

    	// at n+off (n is PPARAMOUT) to register reg. The result is already in
    	// memory. Used in open-coded defer return path.
    	LoadRegResult func(s *State, f *ssa.Func, t *types.Type, reg int16, n *ir.Name, off int64) *obj.Prog
    
    	// SpillArgReg emits instructions that spill reg to n+off.
    	SpillArgReg func(pp *objw.Progs, p *obj.Prog, f *ssa.Func, t *types.Type, reg int16, n *ir.Name, off int64) *obj.Prog
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 03 21:05:55 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

        override fun read(buf: ByteArray, off: Int, len: Int): Int = inputStream.read(buf, off, len)
    
        override fun readLine(): String = unsupported("ObjectInputStream.readLine")
    
        override fun readFully(buf: ByteArray) = unsupported("ObjectInputStream.readFully")
    
        override fun readFully(buf: ByteArray, off: Int, len: Int) = unsupported("ObjectInputStream.readFully")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/crypto/rc4/rc4_test.go

    			if err != nil {
    				t.Fatalf("#%d: NewCipher: %v", gi, err)
    			}
    
    			off := 0
    			for off < len(g.keystream) {
    				n := len(g.keystream) - off
    				if n > size {
    					n = size
    				}
    				desc := fmt.Sprintf("#%d@[%d:%d]", gi, off, off+n)
    				testEncrypt(t, desc, c, data[off:off+n], expect[off:off+n])
    				off += n
    			}
    		}
    	}
    }
    
    func TestBlock(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 21 19:49:06 UTC 2018
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/AppendableWriter.java

        checkNotNull(str);
        checkNotClosed();
        target.append(str);
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        // tricky: append takes start, end pair...
        target.append(str, off, off + len);
      }
    
      @Override
      public void flush() throws IOException {
        checkNotClosed();
        if (target instanceof Flushable) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/PrimitiveSink.java

      /**
       * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written,
       * {@code bytes[off + len - 1]} is the last.
       *
       * @param bytes a byte array
       * @param off the start offset in the array
       * @param len the number of bytes to write
       * @return this instance
       * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or
       *     {@code len < 0}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top