Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2481 - 2490 of 3,989 for Kull (0.03 sec)

  1. android/guava-tests/test/com/google/common/base/ReflectionFreeAssertThrows.java

      static <T extends Throwable> T assertThrows(
          Class<T> expectedThrowable, ThrowingRunnable runnable) {
        return doAssertThrows(
            expectedThrowable,
            () -> {
              runnable.run();
              return null;
            },
            /* userPassedSupplier= */ false);
      }
    
      private static <T extends Throwable> T doAssertThrows(
          Class<T> expectedThrowable, ThrowingSupplier supplier, boolean userPassedSupplier) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent
      }
    
      /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */
      public void testBadArguments_null() {
        assertThrows(NullPointerException.class, () -> new PercentEscaper(null, false));
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

            trustAnchor.trustedCert
          } catch (e: IllegalAccessException) {
            throw AssertionError("unable to get issues and signature", e)
          } catch (_: InvocationTargetException) {
            null
          }
        }
      }
    
      companion object {
        val isSupported: Boolean =
          when {
            !isAndroid -> false
            Build.VERSION.SDK_INT >= 30 -> false // graylisted methods are banned
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

        client =
          clientTestRule.newClientBuilder()
            .cache(cache)
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        if (this::cache.isInitialized) {
          cache.delete()
        }
      }
    
      @Test
      fun corruptedCipher() {
        val response =
          testCorruptingCache {
            corruptMetadata {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractMultiset.java

      public abstract void clear();
    
      // Views
    
      @LazyInit @CheckForNull private transient Set<E> elementSet;
    
      @Override
      public Set<E> elementSet() {
        Set<E> result = elementSet;
        if (result == null) {
          elementSet = result = createElementSet();
        }
        return result;
      }
    
      /**
       * Creates a new instance of this multiset's element set, which will be returned by {@link
       * #elementSet()}.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 01 22:07:10 UTC 2021
    - 6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                    workerRunCount++;
                    workerRunningState = RUNNING;
                    hasSetRunning = true;
                  }
                }
                task = queue.poll();
                if (task == null) {
                  workerRunningState = IDLE;
                  return;
                }
              }
              // Remove the interrupt bit before each task. The interrupt is for the "current task" when
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                    workerRunCount++;
                    workerRunningState = RUNNING;
                    hasSetRunning = true;
                  }
                }
                task = queue.poll();
                if (task == null) {
                  workerRunningState = IDLE;
                  return;
                }
              }
              // Remove the interrupt bit before each task. The interrupt is for the "current task" when
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

     * to a situation of trying our least likely noisiest options.
     */
    class DeferredSocketAdapter(private val socketAdapterFactory: Factory) : SocketAdapter {
      private var delegate: SocketAdapter? = null
    
      override fun isSupported(): Boolean {
        return true
      }
    
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = socketAdapterFactory.matchesSocket(sslSocket)
    
      override fun configureTlsExtensions(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/VerifyException.java

      public VerifyException(@CheckForNull String message) {
        super(message);
      }
    
      /**
       * Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code
       * null} if {@code cause} is null, and {@code cause.toString()} otherwise.
       *
       * @since 19.0
       */
      public VerifyException(@CheckForNull Throwable cause) {
        super(cause);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

    public interface Source {
    
        /**
         * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller.
         *
         * @return A byte stream to the source contents, never {@code null}.
         * @throws IOException in case of IO issue
         */
        InputStream getInputStream() throws IOException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top