Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1951 - 1960 of 6,020 for new1 (0.02 seconds)

  1. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

            // Given
            when(mockDelegate.hasNext()).thenReturn(false);
            CIFSException exception = new CIFSException("Test exception");
            doThrow(exception).when(mockDelegate).close();
    
            DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) {
                @Override
                protected SmbResource adapt(FileEntry e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapForEachTester.java

      public void testForEachKnownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
        assertEquals(getOrderedElements(), entries);
      }
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testForEachUnknownOrder() {
        List<Entry<K, V>> entries = new ArrayList<>();
        getMap().forEach((k, v) -> entries.add(entry(k, v)));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 31 14:51:04 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

      // tweak this to control hit rate
      @Param("2.5")
      double concentration;
    
      Random random = new Random();
    
      LoadingCache<Integer, Integer> cache;
    
      int max;
    
      static AtomicLong requests = new AtomicLong(0);
      static AtomicLong misses = new AtomicLong(0);
    
      @BeforeExperiment
      void setUp() {
        // random integers will be generated in this range, then raised to the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

        @Test
        @DisplayName("No-arg constructor: null message and cause; can be thrown")
        void defaultConstructor_behavesAsExpected() {
            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException();
    
            // Assert state
            assertNull(ex.getMessage(), "Default constructor should have null message");
            assertNull(ex.getCause(), "Default constructor should have null cause");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

                bufferIndex += 4;
    
                if (numAces > 4096) {
                    throw new IOException("Invalid SecurityDescriptor");
                }
    
                aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
                    aces[i] = new ACE();
                    bufferIndex += aces[i].decode(buffer, bufferIndex);
                }
            } else {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

        }
    
        protected MavenXpp3Reader(ContentTransformer contentTransformer, boolean addLocationInformation) {
            delegate =
                    contentTransformer != null ? new MavenStaxReader(contentTransformer::transform) : new MavenStaxReader();
            delegate.setAddLocationInformation(addLocationInformation);
        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/FileBackedOutputStream.java

        checkArgument(
            fileThreshold >= 0, "fileThreshold must be non-negative, but was %s", fileThreshold);
        this.state = new State(fileThreshold, resetWhenGarbageCollected);
        this.byteSource = new FbosByteSource(state);
    
        if (resetWhenGarbageCollected) {
          FinalizableReference.register(byteSource);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

            return asJson(new ApiResult.ApiConfigResponse().setting(userService.getUser(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Creates a new user setting.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/ResourcesTest.java

        URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");
        LineProcessor<List<String>> collectAndLowercaseAndTrim =
            new LineProcessor<List<String>>() {
              final List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(whitespace().trimFrom(line));
                return true;
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

        private final List<MavenProject> sortedProjects;
    
        private final Map<Key, List<MavenProject>> cache = new ConcurrentHashMap<>();
    
        private record Key(MavenProject project, boolean transitive, boolean upstream) {}
    
        /**
         * Creates a new project dependency graph from the specified graph.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top