Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2581 - 2590 of 5,478 for newA (0.04 seconds)

  1. src/main/java/org/codelibs/core/collection/MultiIterator.java

            }
            return false;
        }
    
        @Override
        public E next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            return iterators[index].next();
        }
    
        @Override
        public void remove() {
            throw new ClUnsupportedOperationException("remove");
        }
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilder.java

     */
    public class SuggestSettingsBuilder {
        /**
         * Constructs a new {@link SuggestSettingsBuilder}.
         */
        public SuggestSettingsBuilder() {
            // nothing
        }
    
        /** The settings index name. */
        protected String settingsIndexName = "fess_suggest";
    
        /** The timeout settings. */
        protected TimeoutSettings timeoutSettings = new TimeoutSettings();
    
        /** The initial settings. */
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:10:16 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/AppendableWriter.java

       */
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        checkNotClosed();
        // It turns out that creating a new String is usually as fast, or faster
        // than wrapping cbuf in a light-weight CharSequence.
        target.append(new String(cbuf, off, len));
      }
    
      /*
       * Override a few functions for performance reasons to avoid creating unnecessary strings.
       */
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

                            handler.isIncludesDependencies(),
                            handler.isAddedToClasspath()
                                    ? new JavaPathType[] {JavaPathType.CLASSES, JavaPathType.MODULES}
                                    : new JavaPathType[] {});
                }
                return type;
            });
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                try (InputStream is = Files.newInputStream(pom)) {
                    MavenStaxReader reader = new MavenStaxReader();
                    reader.setAddLocationInformation(false);
                    reader.read(is, true, InputSource.of("id", pom.toString()));
                    i++;
                } catch (XMLStreamException e) {
                    throw new RuntimeException("Error parsing: " + pom, e);
                }
            }
            return i;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

            assertArgumentNotEmpty("name", name);
    
            try {
                final Enumeration<URL> e = loader.getResources(name);
                return new EnumerationIterator<>(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Loads the class with the specified binary name.
         *
         * @param loader
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

        private SmartProjectComparator comparator;
        private ProjectDependencyGraph dependencyGraph;
    
        @BeforeEach
        void setUp() {
            dependencyGraph = new ProjectDependencyGraphStub();
            comparator = new SmartProjectComparator(dependencyGraph);
        }
    
        @Test
        void testProjectWeightCalculation() {
            // Test that projects with longer downstream chains get higher weights
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. internal/logger/logrotate.go

    		}
    	}
    
    	path := filepath.Join(w.opts.Directory, w.opts.FileNameFunc())
    	f, err := newFile(path)
    	if err != nil {
    		return fmt.Errorf("unable to create new file at %v: %w", path, err)
    	}
    
    	w.f = f
    
    	return nil
    }
    
    // NewDir creates a new concurrency safe Writer which performs log rotation.
    func NewDir(opts Options) (io.WriteCloser, error) {
    	if err := os.MkdirAll(opts.Directory, os.ModePerm); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

                ByteBuffer buffer = invocation.getArgument(0);
                EnumSet<RdmaAccess> access = invocation.getArgument(1);
                return new TcpMemoryRegion(buffer, access);
            });
    
            bufferManager = new RdmaBufferManager(mockProvider);
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (bufferManager != null) {
                bufferManager.cleanup();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

                this.dataBytesWritten = bytes;
            }
        }
    
        @BeforeEach
        void setUp() {
            transaction = new TestSmbComTransaction();
            transaction.command = ServerMessageBlock.SMB_COM_TRANSACTION;
            transaction.name = "\\PIPE\\test";
            transaction.txn_buf = new byte[1024];
            transaction.maxBufferSize = 1024;
        }
    
        @Test
        @DisplayName("Test reset() method resets transaction state")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top