Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 134 for Position (0.2 sec)

  1. guava/src/com/google/common/collect/CompactLinkedHashMap.java

        setSucceeds(lastEntry, entryIndex);
        setSucceeds(entryIndex, ENDPOINT);
      }
    
      @Override
      void accessEntry(int index) {
        if (accessOrder) {
          // delete from previous position...
          setSucceeds(getPredecessor(index), getSuccessor(index));
          // ...and insert at the end.
          setSucceeds(lastEntry, index);
          setSucceeds(index, ENDPOINT);
          incrementModCount();
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Splitter.java

                    int separatorLength = separator.length();
    
                    positions:
                    for (int p = start, last = toSplit.length() - separatorLength; p <= last; p++) {
                      for (int i = 0; i < separatorLength; i++) {
                        if (toSplit.charAt(i + p) != separator.charAt(i)) {
                          continue positions;
                        }
                      }
                      return p;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      *result = filename_;
      return OkStatus();
    }
    
    Status ModularWritableFile::Tell(int64_t* position) {
      if (ops_->tell == nullptr)
        return errors::Unimplemented(
            tensorflow::strings::StrCat("Tell() not implemented for ", filename_));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      *position = ops_->tell(file_.get(), plugin_status.get());
      return StatusFromTF_Status(plugin_status.get());
    }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.h

      Status Append(StringPiece data) override;
      Status Close() override;
      Status Flush() override;
      Status Sync() override;
      Status Name(StringPiece* result) const override;
      Status Tell(int64_t* position) override;
    
     private:
      std::string filename_;
      std::unique_ptr<TF_WritableFile> file_;
      const TF_WritableFileOps* ops_;  // not owned
      ModularWritableFile(const ModularWritableFile&) = delete;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

        override fun getScopeContextForPosition(
            originalFile: KtFile,
            positionInFakeFile: KtElement
        ): KtScopeContext {
            val fakeFile = positionInFakeFile.containingKtFile
    
            // If the position is in KDoc, we want to pass the owning declaration to the ContextCollector.
            // That way, the resulting scope will contain all the nested declarations which can be references by KDoc.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            return element
        }
    
        fun findScopesAtPosition(
            position: KtElement,
            newImports: Sequence<FqName>,
            towerContextProvider: FirTowerDataContextProvider,
            withImplicitReceivers: Boolean = true,
        ): List<FirScope>? {
            val towerDataContext = towerContextProvider.getClosestAvailableParentContext(position) ?: return null
            val nonLocalScopes = towerDataContext.nonLocalTowerDataElements
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Headers.kt

      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "size"),
        level = DeprecationLevel.ERROR,
      )
      fun size(): Int = size
    
      /** Returns the field at `position`. */
      fun name(index: Int): String = commonName(index)
    
      /** Returns the value at `index`. */
      fun value(index: Int): String = commonValue(index)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    type sparseFileReader struct {
    	fr  fileReader  // Underlying fileReader
    	sp  sparseHoles // Normalized list of sparse holes
    	pos int64       // Current position in sparse file
    }
    
    func (sr *sparseFileReader) Read(b []byte) (n int, err error) {
    	finished := int64(len(b)) >= sr.logicalRemaining()
    	if finished {
    		b = b[:sr.logicalRemaining()]
    	}
    
    	b0 := b
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/Stats.java

       *     {@link ByteOrder#LITTLE_ENDIAN}, to which a BYTES-long byte representation of this instance
       *     is written. In the process increases the position of {@link ByteBuffer} by BYTES.
       */
      void writeTo(ByteBuffer buffer) {
        checkNotNull(buffer);
        checkArgument(
            buffer.remaining() >= BYTES,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      int64_t position = int64_t(gcs_file->outfile.tellp());
      if (position == -1)
        TF_SetStatus(status, TF_INTERNAL,
                     "tellp on the internal temporary file failed");
      else
        TF_SetStatus(status, TF_OK, "");
      return position == -1
                 ? -1
                 : position + (gcs_file->offset == -1 ? 0 : gcs_file->offset);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top