Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 6,020 for new1 (0.15 seconds)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

            Configuration cfg = Mockito.mock(Configuration.class);
            return new Smb2LogoffResponse(cfg);
        }
    
        @Test
        @DisplayName("Constructor accepts a Configuration and creates instance")
        void constructor_happyPath() {
            // Arrange
            Configuration cfg = Mockito.mock(Configuration.class);
    
            // Act
            Smb2LogoffResponse resp = new Smb2LogoffResponse(cfg);
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN);
            Object newValue = new Object();
            assertThat(cache.asMap().put(entry.getKey(), newValue)).isSameInstanceAs(entry.getValue());
            // don't let the new entry get GCed
            warmed.add(entryOf(entry.getKey(), newValue));
            Object newKey = new Object();
            assertThat(cache.asMap().put(newKey, entry.getValue())).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            MockitoAnnotations.openMocks(this);
            echoResponse = new Smb2EchoResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
                Smb2EchoResponse response = new Smb2EchoResponse(mockConfig);
                assertNotNull(response);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                return new SetWithResolutionResult(null, new LinkedHashSet<>());
            }
    
            scopesToCollect = new HashSet<>(scopesToCollect);
            scopesToCollect.addAll(scopesToResolve);
    
            DependencyFilter collectionFilter = new ScopeDependencyFilter(null, negate(scopesToCollect));
            DependencyFilter resolutionFilter = new ScopeDependencyFilter(null, negate(scopesToResolve));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        public Entry<K, Collection<V>>[] createArray(int length) {
          return (Entry<K, Collection<V>>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<K, Collection<V>>> order(List<Entry<K, Collection<V>>> insertionOrder) {
          Map<K, Collection<V>> map = new HashMap<>();
          List<Entry<K, V>> builder = new ArrayList<>();
          for (Entry<K, Collection<V>> entry : insertionOrder) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

         * shared between many doc files.
         */
        @Input
        Map<String, String> setups = new HashMap()
    
        /**
         * Test teardowns defined in the build instead of the docs so they can be
         * shared between many doc files.
         */
        @Input
        Map<String, String> teardowns = new HashMap()
    
        /**
         * A list of files that contain snippets that *probably* should be
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Verify.java

     * usual form:
     *
     * {@snippet :
     * Bill bill = remoteService.getLastUnpaidBill();
     * if (bill.status() != Status.UNPAID) {
     *   throw new VerifyException("Unexpected bill status: " + bill.status());
     * }
     * }
     *
     * <h3>Only {@code %s} is supported</h3>
     *
     * <p>As with {@link Preconditions}, {@code Verify} uses {@link Strings#lenientFormat} to format
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                        final HMACT64 hmac = new HMACT64(userSessionKey);
                        hmac.update(sessionNonce);
                        final byte[] ntlm2SessionKey = hmac.digest();
    
                        if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                            masterKey = new byte[16];
                            RANDOM.nextBytes(masterKey);
    
                            final byte[] exchangedKey = new byte[16];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

        void perform(List<Integer> list);
      }
    
      static ListFrobber add(int element) {
        return new ListFrobber() {
          @Override
          public void perform(List<Integer> list) {
            list.add(0, element);
          }
        };
      }
    
      static ListFrobber remove() {
        return new ListFrobber() {
          @Override
          public void perform(List<Integer> list) {
            list.remove(0);
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom1 = new File(pom0.getParentFile(), "p1/pom.xml");
            File pom2 = new File(pom1.getParentFile(), "p2/pom.xml");
            File pom3 = new File(pom2.getParentFile(), "p3/pom.xml");
            File pom4 = new File(pom3.getParentFile(), "p4/pom.xml");
            File pom5 = new File(pom4.getParentFile(), "p5/pom.xml");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 04 10:35:11 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top