Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Position (0.23 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

        };
      }
    
      /**
       * Returns the element at the specified position in an iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (throws
       * {@code NoSuchElementException} if out of bounds)
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterable}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	})
    	if err != nil {
    		return nil, nil, err
    	}
    
    	return disk, format, nil
    }
    
    // findDiskIndex - returns the i,j'th position of the input `diskID` against the reference
    // format, after successful validation.
    //   - i'th position is the set index
    //   - j'th position is the disk index in the current set
    func findDiskIndexByDiskID(refFormat *formatErasureV3, diskID string) (int, int, error) {
    	if diskID == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  3. cmd/erasure-server-pool-decom.go

    			return false, fmt.Errorf("pool(%s) = %s is decommissioned, please remove from server command line", humanize.Ordinal(pi.position+1), k)
    		}
    	}
    
    	if len(specifiedPools) == len(rememberedPools) {
    		for k, pi := range rememberedPools {
    			pos, ok := specifiedPools[k]
    			if ok && pos != pi.position {
    				update = true // pool order is changing, its okay to allow it.
    			}
    		}
    	}
    
    	if !update {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  4. 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)
  5. cmd/erasure-metadata-utils.go

    		}
    		if !meta.IsValid() {
    			inconsistent++
    			continue
    		}
    		if meta.XLV1 != fi.XLV1 {
    			inconsistent++
    			continue
    		}
    		// check if erasure distribution order matches the index
    		// position if this is not correct we discard the disk
    		// and move to collect others
    		if distribution[i] != meta.Erasure.Index {
    			inconsistent++ // keep track of inconsistent entries
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    	NumVersions      int       `msg:"nv"`
    	SuccessorModTime time.Time `msg:"smt"`
    
    	Fresh bool `msg:"fr"` // indicates this is a first time call to write FileInfo.
    
    	// Position of this version or object in a multi-object delete call,
    	// no other caller must set this value other than multi-object delete call.
    	// usage in other calls in undefined please avoid.
    	Idx int `msg:"i"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

       * equivalent to RegularImmutableSet, save that instead of having a hash table containing the
       * elements directly and null for empty positions, we store indices of the keys in the hash table,
       * and ABSENT for empty positions.  We then look up the keys in alternatingKeysAndValues.
       *
       * (The index actually stored is the index of the key in alternatingKeysAndValues, which is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            fir: FirResolvable,
            expression: KtSimpleNameExpression,
            session: FirSession,
            symbolBuilder: KtSymbolByFirBuilder
        ): Collection<KtSymbol> {
            // If the cursor position is on the label of `super`, we want to resolve to the current class. FIR represents `super` as
            // accessing the `super` property on `this`, hence this weird looking if condition. In addition, the current class type is available
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  9. cmd/common-main.go

    		return nil, err
    	}
    	return ekvs, nil
    }
    
    func readFromSecret(sp string) (string, error) {
    	// Supports reading path from docker secrets, filename is
    	// relative to /run/secrets/ position.
    	if isFile(pathJoin("/run/secrets/", sp)) {
    		sp = pathJoin("/run/secrets/", sp)
    	}
    	credBuf, err := os.ReadFile(sp)
    	if err != nil {
    		if os.IsNotExist(err) { // ignore if file doesn't exist.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

      abstract ImmutableSortedSet<E> createDescendingSet();
    
      /** @since 12.0 */
      @GwtIncompatible // NavigableSet
      @Override
      public abstract UnmodifiableIterator<E> descendingIterator();
    
      /** Returns the position of an element within the set, or -1 if not present. */
      abstract int indexOf(@CheckForNull Object target);
    
      /*
       * This class is used to serialize all ImmutableSortedSet instances,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top