Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for bit_index (0.22 sec)

  1. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        }
    
        /** Returns true if the bit changed value. */
        boolean set(long bitIndex) {
          if (get(bitIndex)) {
            return false;
          }
    
          int longIndex = (int) (bitIndex >>> LONG_ADDRESSABLE_BITS);
          long mask = 1L << bitIndex; // only cares about low 6 bits of bitIndex
    
          long oldValue;
          long newValue;
          do {
            oldValue = data.get(longIndex);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/StreamsTest.java

        AtomicInteger stringsCloseCount = new AtomicInteger();
        Stream<String> strings = source.onClose(stringsCloseCount::incrementAndGet);
        Stream<String> withIndex = Streams.mapWithIndex(strings, (str, i) -> str + ":" + i);
    
        withIndex.close();
    
        assertThat(stringsCloseCount.get()).isEqualTo(1);
      }
    
      public void testMapWithIndex_intStream() {
        SpliteratorTester.of(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                firFileSession,
                analysisSession.getScopeSessionFor(firFileSession),
                useCaching = true,
            )
    
            val ktScopesWithKinds = createScopesWithKind(firImportingScopes.withIndex())
            return KtScopeContext(ktScopesWithKinds, _implicitReceivers = emptyList(), token)
        }
    
        override fun getScopeContextForPosition(
            originalFile: KtFile,
            positionInFakeFile: KtElement
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Fri Jan 05 16:04:14 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

            val result = mutableListOf<KtImplicitReceiver>()
    
            for ((index, implicitReceiver) in scope.getImplicitReceiversHierarchy().withIndex()) {
                val type = implicitReceiver.type.toKtType(analysisContext)
                val ownerDescriptor = implicitReceiver.containingDeclaration
                val owner = ownerDescriptor.toKtSymbol(analysisContext)
    
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Tue Oct 10 13:37:59 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            }
    
            // Parameter type check
            method.parameterTypes
                .asSequence()
                // Drop the receiver if present
                .drop(if (extensionCandidate) 1 else 0)
                .withIndex()
                .all<IndexedValue<CtClass>> {
                    val ktParamType = ktFunction.valueParameters[it.index].typeReference!!
                    it.value.isLikelyEquivalentTo(ktParamType)
                }
        }
    }
    Plain Text
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            if (typeArguments.size < typeParameters.size) return emptyMap()
    
            val result = mutableMapOf<KtTypeParameterSymbol, KtType>()
    
            for ((index, typeParameter) in typeParameters.withIndex()) {
                // After resolution all type arguments should be usual types (not FirPlaceholderProjection)
                val typeArgument = typeArguments[index]
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Tue Apr 16 19:28:19 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top