Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bit_index (0.27 sec)

  1. 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 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. 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 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. 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 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  4. 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 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
Back to top