Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1951 - 1960 of 5,478 for newA (0.02 seconds)

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

         */
        @Test
        void testConstructor() {
            // The constructor should not throw any exceptions with valid inputs.
            new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE);
            new DosFileFilter("?", SmbFile.ATTR_DIRECTORY);
            new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN);
        }
    
        /**
         * Parameterized test for the {@link DosFileFilter#accept(SmbFile)} method.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    @NullUnmarked
    public class ThreadFactoryBuilderTest extends TestCase {
      private final Runnable monitoredRunnable =
          new Runnable() {
            @Override
            public void run() {
              completed = true;
            }
          };
    
      private static final UncaughtExceptionHandler UNCAUGHT_EXCEPTION_HANDLER =
          new UncaughtExceptionHandler() {
            @Override
            public void uncaughtException(Thread t, Throwable e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

      }
    
      public void testListenersNotifiedOnError() throws Exception {
        CountDownLatch successLatch = new CountDownLatch(1);
        CountDownLatch listenerLatch = new CountDownLatch(1);
    
        ExecutorService exec = newCachedThreadPool();
    
        future.addListener(listenerLatch::countDown, exec);
    
        new Thread(
                () -> {
                  assertThrows(CancellationException.class, future::get);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                ntlmSsp = new NtlmSsp();
            } else {
                credentialsSupplied = true;
            }
    
            try {
                mimeMap = new MimeMap();
                is = getClass().getClassLoader().getResourceAsStream("jcifs/smb1/http/ne.css");
                while ((n = is.read(buf)) != -1) {
                    sb.append(new String(buf, 0, n, "ISO8859_1"));
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        @BeforeEach
        void setUp() {
            bind = new DcerpcBind();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Default constructor should create instance with default values")
            void testDefaultConstructor() {
                // When
                DcerpcBind defaultBind = new DcerpcBind();
    
                // Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractor.java

            validateInputStream(in);
            try (final HSSFWorkbook workbook = new HSSFWorkbook(in);
                    final org.apache.poi.hssf.extractor.ExcelExtractor excelExtractor =
                            new org.apache.poi.hssf.extractor.ExcelExtractor(workbook)) {
                return new ExtractData(excelExtractor.getText());
            } catch (final IOException e) {
                throw new ExtractException("Failed to extract text from Excel document.", e);
            }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/LongAddables.java

          LongAdder unused = new LongAdder();
          supplier =
              new Supplier<LongAddable>() {
                @Override
                public LongAddable get() {
                  return new LongAdder();
                }
              };
        } catch (Throwable t) { // we really want to catch *everything*
          supplier =
              new Supplier<LongAddable>() {
                @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

      public static <E extends @Nullable Object> MinimalCollection<E> of(E... contents) {
        return new MinimalCollection<>(Object.class, true, contents);
      }
    
      // TODO: use this
      public static <E extends @Nullable Object> MinimalCollection<E> ofClassAndContents(
          Class<? super @NonNull E> type, E... contents) {
        return new MinimalCollection<>(type, true, contents);
      }
    
      private final E[] contents;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

        private final Map<String, Object> metaDataMap = new LinkedHashMap<>();
    
        private final Set<RequestData> childUrlSet = new LinkedHashSet<>();
    
        private byte[] responseBodyBytes;
    
        private File responseBodyFile;
    
        private boolean isTemporaryFile;
    
        private boolean noFollow = false;
    
        /**
         * Creates a new ResponseData instance.
         */
        public ResponseData() {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/util/MD4.java

        /**
         * 4 32-bit words (interim result)
         */
        private int[] context = new int[4];
    
        /**
         * Number of bytes processed so far mod. 2 power of 64.
         */
        private long count;
    
        /**
         * 512 bits input buffer = 16 x 32-bit words holds until reaches 512 bits.
         */
        private byte[] buffer = new byte[BLOCK_LENGTH];
    
        /**
         * 512 bits work buffer = 16 x 32-bit words
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.6K bytes
    - Click Count (0)
Back to Top