Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,956 for Contains (0.65 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        if (chunk2 > 0) {
          write(out, data, chunk1, chunk2, singleByte);
          file = out.getFile();
          assertEquals(dataSize, file.length());
          assertTrue(file.exists());
          assertThat(file.getName()).contains("FileBackedOutputStream");
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(file.toPath(), PosixFileAttributeView.class)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 16:30:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

            return receiverType
                .memberFunctions
                .asSequence()
                .mapNotNull { it.javaMethod }
                .filterNot { objectMethods.contains(it) }
                .map { it.toGroovyScriptString() }
                .sorted()
                .joinToString(separator = "\n")
        }
    
        private
        fun Method.toGroovyScriptString(): String {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Jul 07 16:02:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                assertEquals(1, result.errorPoms().size(), "Should have one error POM");
                assertTrue(result.errorPoms().contains(Paths.get("pom.xml")), "Should contain the failed POM");
            }
    
            @Test
            @DisplayName("should handle strategy exceptions gracefully")
            void shouldHandleStrategyExceptionsGracefully() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        assertFalse(entries.contains(mapEntry(k3(), v3())));
        multimap().put(k3(), v3());
        assertContains(entries, mapEntry(k3(), v3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutPresentKeyPropagatesToEntries() {
        Collection<Entry<K, V>> entries = multimap().entries();
        assertFalse(entries.contains(mapEntry(k0(), v3())));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. internal/grid/README.md

    and furthermore provides reuse of the structs used for the request and response.
    
    Note that Responses sent for serialization are automatically reused for similar requests.
    If the response contains shared data it will cause issues, since each unique response is reused.
    To disable this behavior, use `(SingleHandler).WithSharedResponse()` to disable it.
    
    ## Streaming Requests
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        .filter(k -> !sys.contains(k.getKey()))
                        .peek(k -> context.pushedUserProperties.add(k.getKey()))
                        .forEach(k -> System.setProperty(k.getKey(), k.getValue()));
            } else {
                protoSession.getUserProperties().entrySet().stream()
                        .filter(k -> context.pushedUserProperties.contains(k.getKey()) || !sys.contains(k.getKey()))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            String malformedUrl = "invalid-url";
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.get(malformedUrl);
            });
            assertTrue(thrown.getMessage().contains("Invalid URL"));
            assertTrue(thrown.getCause() instanceof MalformedURLException);
        }
    
        @Test
        void testGetPipe() throws CIFSException, MalformedURLException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                in.close();
                IOException ex = assertThrows(IOException.class, () -> in.readDirect(new byte[8], 0, 4));
                assertTrue(ex.getMessage().contains("Bad file descriptor"));
            }
    
            @Test
            @DisplayName("available always returns 0")
            void availableAlwaysZero() throws Exception {
                SmbFileInputStream in = newStream();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LoadingCache.java

      V getUnchecked(K key);
    
      /**
       * Returns a map of the values associated with {@code keys}, creating or retrieving those values
       * if necessary. The returned map contains entries that were already cached, combined with newly
       * loaded entries; it will never contain null keys or values.
       *
       * <p>Caches loaded by a {@link CacheLoader} will issue a single request to {@link
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

                }
              };
            }
    
            @Override
            public int size() {
              return adjacentNodeValues.size();
            }
    
            @Override
            public boolean contains(@Nullable Object obj) {
              return adjacentNodeValues.containsKey(obj);
            }
          };
        }
      }
    
      @Override
      public Set<N> predecessors() {
        return new AbstractSet<N>() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top