Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2581 - 2590 of 5,478 for newE (0.03 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/consolelogger.go

    	nodeName string
    	logBuf   *ring.Ring
    }
    
    // NewConsoleLogger - creates new HTTPConsoleLoggerSys with all nodes subscribed to
    // the console logging pub sub system
    func NewConsoleLogger(ctx context.Context, w io.Writer) *HTTPConsoleLoggerSys {
    	return &HTTPConsoleLoggerSys{
    		pubsub:  pubsub.New[log.Info, madmin.LogMask](8),
    		console: console.New(w),
    		logBuf:  ring.New(defaultLogBufferCount),
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JsonExtractor.java

                final JsonNode rootNode = objectMapper.readTree(in);
                final StringBuilder textBuilder = new StringBuilder();
                final Map<String, List<String>> metadataMap = new LinkedHashMap<>();
    
                extractContent(rootNode, "", textBuilder, metadataMap, 0);
    
                final ExtractData extractData = new ExtractData(textBuilder.toString().trim());
    
                if (extractMetadata) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Nov 23 03:46:53 GMT 2025
    - 9.7K bytes
    - Click Count (0)
Back to Top