Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for xoffset (0.19 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

                    fun String.isValidIndex(index: Int) = index in indices
    
                    check(text.isValidIndex(offset))
    
                    val realStartIndex = offset + offsetRelativeIndexRange.first
                    check(text.isValidIndex(realStartIndex))
    
                    val realEndIndex = offset + offsetRelativeIndexRange.last
                    check(text.isValidIndex(realEndIndex))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc

        device_costs[kv.second] = cost;
      }
      return device_costs;
    }
    
    flatbuffers::Offset<SubgraphMetadata> CreateSubgraphMetadata(
        const std::map<std::string, uint8_t>& hardware_map, mlir::Region* Region,
        flatbuffers::FlatBufferBuilder* builder) {
      auto& block = Region->front();
      int index = 0;
      std::vector<flatbuffers::Offset<tflite::OpMetadata>> ops;
      for (auto& inst : block) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 06:11:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pkg/util/tail/tail.go

    		return nil, false, err
    	}
    	size := fi.Size()
    	if size == 0 {
    		return nil, false, nil
    	}
    	if size < max {
    		max = size
    	}
    	offset, err := f.Seek(-max, io.SeekEnd)
    	if err != nil {
    		return nil, false, err
    	}
    	data, err := io.ReadAll(f)
    	return data, offset > 0, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/IoTestCase.java

        return newPreFilledByteArray(0, size);
      }
    
      /** Returns a byte array of length size that has values offset .. offset + size - 1. */
      static byte[] newPreFilledByteArray(int offset, int size) {
        byte[] array = new byte[size];
        for (int i = 0; i < size; i++) {
          array[i] = (byte) (offset + i);
        }
        return array;
      }
    
      private static void copy(URL url, File file) throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/time/67470.md

    [Parse] and [ParseInLocation] now return an error if the time zone
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 17:30:16 UTC 2024
    - 91 bytes
    - Viewed (0)
  6. src/mime/mediatype.go

    					b.WriteString(value[offset:index])
    					offset = index + 1
    
    					b.WriteByte('%')
    					b.WriteByte(upperhex[ch>>4])
    					b.WriteByte(upperhex[ch&0x0F])
    				}
    			}
    			b.WriteString(value[offset:])
    			continue
    		}
    
    		if isToken(value) {
    			b.WriteString(value)
    			continue
    		}
    
    		b.WriteByte('"')
    		offset := 0
    		for index := 0; index < len(value); index++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/StdInStream.java

            }
        }
    
        @Override
        public int read(byte[] dest, int offset, int length) throws IOException {
            synchronized (lock) {
                waitForContent();
                if (readPos != buffer.length) {
                    int count = Math.min(length, buffer.length - readPos);
                    System.arraycopy(buffer, readPos, dest, offset, count);
                    readPos += count;
                    return count;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/pprof/pprof.go

    }
    
    func (*objTool) Open(name string, start, limit, offset uint64, relocationSymbol string) (driver.ObjFile, error) {
    	of, err := objfile.Open(name)
    	if err != nil {
    		return nil, err
    	}
    	f := &file{
    		name: name,
    		file: of,
    	}
    	if start != 0 {
    		if load, err := of.LoadAddress(); err == nil {
    			f.offset = start - load
    		}
    	}
    	return f, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy

            1 * spec.lineInFileLocation("SomeFile.java", 1, 1)
            0 * spec.lineInFileLocation(_, _, _, _)
            0 * spec.offsetInFileLocation(_, _, _, _)
        }
    
        def "when only start defined, no offset or slice location is reported"() {
            given:
            def diagnostic = Mock(Diagnostic)
            diagnostic.kind >> Diagnostic.Kind.ERROR
            diagnostic.source >> Mock(JavaFileObject) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 13:58:13 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/internal/poll/fd_wasip1.go

    		// cookie when seeking back to the beginning to allow reusing the file
    		// descriptor to scan the directory again.
    		if offset == 0 && whence == 0 {
    			fd.Dircookie = 0
    			return 0, nil
    		} else {
    			return 0, syscall.EINVAL
    		}
    	}
    
    	return syscall.Seek(fd.Sysfd, offset, whence)
    }
    
    // https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#-dirent-record
    const sizeOfDirent = 24
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top