Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 94 of 94 for endswith (0.22 sec)

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

      }
    
      public void testImmediateFailedFuture() throws Exception {
        Exception exception = new Exception();
        ListenableFuture<String> future = immediateFailedFuture(exception);
        assertThat(future.toString()).endsWith("[status=FAILURE, cause=[" + exception + "]]");
    
        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

          int negatedCharacters = DISTINCT_CHARS - totalCharacters;
          String suffix = ".negate()";
          final String description = toString();
          String negatedDescription =
              description.endsWith(suffix)
                  ? description.substring(0, description.length() - suffix.length())
                  : description + suffix;
          return new NegatedFastMatcher(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  3. configure.py

                                           'contrib', 'makefile', 'downloads')
      if os.path.isdir(makefile_download_dir):
        for root, _, filenames in os.walk(makefile_download_dir):
          for f in filenames:
            if f.endswith('BUILD'):
              os.remove(os.path.join(root, f))
    
    
    def get_var(environ_cp,
                var_name,
                query_item,
                enabled_by_default,
                question=None,
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/CacheTest.kt

        val response1 = client.newCall(request).execute()
        assertThat(response1.body.string()).isEqualTo("ABC")
        val cacheEntry =
          fileSystem.allPaths.stream()
            .filter { e: Path -> e.name.endsWith(".0") }
            .findFirst()
            .orElseThrow { NoSuchElementException() }
        corruptCertificate(cacheEntry)
        val response2 = client.newCall(request).execute() // Not Cached!
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top