Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for inner (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        SettableFuture<Object> async = SettableFuture.create();
        SettableFuture<Object> inner = SettableFuture.create();
        async.setFuture(inner);
        async.cancel(true);
        assertTrue(inner.isCancelled());
        assertTrue(inner.wasInterrupted());
        assertThrows(CancellationException.class, () -> inner.get());
      }
    
      public void testCancel_resultCancelsInner() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
  2. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        SettableFuture<Object> async = SettableFuture.create();
        SettableFuture<Object> inner = SettableFuture.create();
        async.setFuture(inner);
        async.cancel(true);
        assertTrue(inner.isCancelled());
        assertTrue(inner.wasInterrupted());
        assertThrows(CancellationException.class, () -> inner.get());
      }
    
      public void testCancel_resultCancelsInner() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/error.go

    type PartialAddError struct {
    	inner error
    }
    
    func (e *PartialAddError) Error() string {
    	return fmt.Sprintf("%s: %v", ErrPartialAdd.Error(), e.inner)
    }
    
    func (e *PartialAddError) Unwrap() []error {
    	return []error{ErrPartialAdd, e.inner}
    }
    
    func NewErrPartialAdd(err error) *PartialAddError {
    	return &PartialAddError{
    		inner: err,
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/FirNonStaticMembersScope.kt

     *
     * Inner classes are included because they are accessible from a value of the outer class. For example:
     *
     * ```
     * class Outer {
     *     inner class Inner
     * }
     *
     * fun foo() {
     *     val outer = Outer()
     *     outer.Inner()
     * }
     * ```
     *
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

            }
        }
    
        inner class AnonymousInitializerBuilder {
            fun buildClassInitializer(firSymbol: FirAnonymousInitializerSymbol): KtClassInitializerSymbol {
                return symbolsCache.cache(firSymbol) { KtFirClassInitializerSymbol(firSymbol, analysisSession) }
            }
        }
    
        inner class TypeBuilder {
            fun buildKtType(coneType: ConeKotlinType): KtType {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/GraphConstants.java

      static final int DEFAULT_EDGE_COUNT = DEFAULT_NODE_COUNT * EXPECTED_DEGREE;
    
      // Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps
      static final float INNER_LOAD_FACTOR = 1.0f;
      static final int INNER_CAPACITY = 2; // ceiling(EXPECTED_DEGREE / INNER_LOAD_FACTOR)
    
      // Error messages
      static final String NODE_NOT_IN_GRAPH = "Node %s is not an element of this graph.";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CaseFormatTest.java

      }
    
      public void testConverter_nullConversions() {
        for (CaseFormat outer : CaseFormat.values()) {
          for (CaseFormat inner : CaseFormat.values()) {
            assertNull(outer.converterTo(inner).convert(null));
            assertNull(outer.converterTo(inner).reverse().convert(null));
          }
        }
      }
    
      public void testConverter_toString() {
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  8. internal/jwt/parser.go

    	n, err := base64DecodeBytes(token[:i], buf)
    	if err != nil {
    		return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed}
    	}
    	headerDec := buf[:n]
    	buf = buf[n:]
    
    	alg, _, _, err := jsonparser.Get(headerDec, "alg")
    	if err != nil {
    		return nil, &jwtgo.ValidationError{Inner: err, Errors: jwtgo.ValidationErrorMalformed}
    	}
    
    	n, err = base64DecodeBytes(token[i+1:j], buf)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        if (contentLength == -1L) return
        val body = newFixedLengthSource(contentLength)
        body.skipAll(Int.MAX_VALUE, MILLISECONDS)
        body.close()
      }
    
      /** An HTTP request body. */
      private inner class KnownLengthSink : Sink {
        private val timeout = ForwardingTimeout(sink.timeout())
        private var closed: Boolean = false
    
        override fun timeout(): Timeout = timeout
    
        override fun write(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

     */
    private fun doesDoubleColonUseLHS(lhs: PsiElement): Boolean {
        val reference = when (val inner = lhs.unwrapParenthesesLabelsAndAnnotations()) {
            is KtReferenceExpression ->
                inner.mainReference
            is KtDotQualifiedExpression ->
                (inner.selectorExpression as? KtReferenceExpression)?.mainReference ?: return true
            else ->
                return true
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top