Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2511 - 2520 of 2,683 for SIZE (0.06 seconds)

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

        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
    
        ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(thrownException.getSuppressed());
        assertEquals(2, suppressed.size());
    
        assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed);
      }
    
      public void testNullCloseable() throws IOException {
        Closer closer = Closer.create();
        closer.register(null);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        /**
         * @throws Exception
         */
        public void testGetTypeVariableMap() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class);
            assertThat(map.size(), is(4));
            final Iterator<Entry<TypeVariable<?>, Type>> it = map.entrySet().iterator();
            Entry<TypeVariable<?>, Type> entry = it.next();
            assertThat(entry.getKey().getName(), is("T1"));
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

                }
            }
    
            TransferListener listener = new TransferListener();
            wagonManager.getArtifact(artifact, repos, listener, false);
            assertEquals(1, listener.events.size());
        }
    
        @Test
        void testGetMissingJar() throws TransferFailedException, UnsupportedProtocolException, IOException {
            Artifact artifact = createTestArtifact("target/test-data/get-missing-jar", "jar");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map);
    
        Set<Object> uniqueEntries = Sets.newIdentityHashSet();
        uniqueEntries.addAll(bimap.entrySet());
        assertEquals(3, uniqueEntries.size());
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        public void testSerializable() {
        SerializableTester.reserializeAndAssert(EnumHashBiMap.create(Currency.class));
      }
    
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                List<ArtifactRepository> mirroredRepos = new ArrayList<>();
    
                List<ArtifactRepositoryPolicy> releasePolicies = new ArrayList<>(aliasedRepos.size());
    
                for (ArtifactRepository aliasedRepo : aliasedRepos) {
                    releasePolicies.add(aliasedRepo.getReleases());
                    mirroredRepos.addAll(aliasedRepo.getMirroredRepositories());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            }
    
            Map<String, Plugin> plugins = new HashMap<>();
            Map<String, String> versions = new HashMap<>();
            Map<String, String> managedVersions = new HashMap<>();
    
            for (int i = lineage.size() - 1; i >= 0; i--) {
                Model model = lineage.get(i).getModel();
                Build build = model.getBuild();
                if (build != null) {
                    for (Plugin plugin : build.getPlugins()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                    } catch (e: Exception) {
                        exceptions.add(e)
                    }
                }
    
            when {
                exceptions.size == 1 -> throw exceptions.first()
                exceptions.isNotEmpty() -> throw DefaultMultiCauseException("Test files cleanup verification failed", exceptions)
                else -> {
                }
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 11 11:05:07 GMT 2026
    - 14.3K bytes
    - Click Count (1)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

            }
        }
    
        /**
         * Get the number of active handles
         * @return the number of handles
         */
        public int getHandleCount() {
            return handles.size();
        }
    
        private void periodicMaintenance() {
            if (shutdown) {
                return;
            }
    
            lock.writeLock().lock();
            try {
                // Clean up expired handles
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:49:49 GMT 2025
    - 13K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/SmbCircuitBreaker.java

            if (responseTimeHistory.size() > 1000) { // Keep last 1000 measurements
                responseTimeHistory.removeFirst();
            }
    
            // Calculate moving average (simple approach)
            if (!responseTimeHistory.isEmpty()) {
                long sum = responseTimeHistory.stream().mapToLong(Long::longValue).sum();
                avgResponseTime.set(sum / responseTimeHistory.size());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                            return new Relocation(global, s, t);
                        })
                        .collect(Collectors.toList());
                LOGGER.info("Parsed {} user relocations", relocationList.size());
                return new Relocations(relocationList);
            }
        }
    
        private static Artifact parseArtifact(String coords) {
            Artifact s;
            String[] parts = coords.split(":");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top