Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 4,648 for new2 (0.06 sec)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

            return total;
          }
        },
        NEW {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            return CharStreams.copy(from, to);
          }
        };
    
        abstract long copy(Readable from, Appendable to) throws IOException;
      }
    
      enum TargetSupplier {
        STRING_WRITER {
          @Override
          Appendable get(int sz) {
            return new StringWriter(sz);
          }
        },
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/LineIterator.java

            return () -> new LineIterator(reader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param reader
         *            The {@link Reader} to read strings from. Must not be {@literal null}.
         */
        public LineIterator(final Reader reader) {
            assertArgumentNotNull("reader", reader);
            this.reader = new BufferedReader(reader);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/TestLocking.java

        String url = null;
        int numComplete = 0;
        long ltime = 0L;
    
        @Override
        public void run() {
            try {
                final SmbFile f = new SmbFile(url);
                final SmbFile d = new SmbFile(f.getParent());
                final byte[] buf = new byte[1024];
    
                for (int ii = 0; ii < numIter; ii++) {
    
                    synchronized (this) {
                        ltime = System.currentTimeMillis();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            Process mockProcess = createMockProcess("callback test\nanother line");
            List<String> callbackResults = new ArrayList<>();
            Consumer<String> callback = line -> callbackResults.add(line);
    
            JobProcess jobProcess = new JobProcess(mockProcess, 50, callback);
    
            assertNotNull(jobProcess);
            assertSame(mockProcess, jobProcess.getProcess());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            authDataVector.add(new DERSequence(authElementVector));
            vector.add(new DERTaggedObject(10, new DERSequence(authDataVector)));
    
            DERSequence sequence = new DERSequence(vector);
            byte[] encoded = new DERTaggedObject(false, BERTags.APPLICATION, 1, sequence).getEncoded();
    
            KerberosEncData encData = new KerberosEncData(encoded, Collections.emptyMap());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            NtlmPasswordAuthenticator baseAuth = new NtlmPasswordAuthenticator("domain", "user", new String(basePassword));
            NtlmPasswordAuthenticator startAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtStart));
            NtlmPasswordAuthenticator middleAuth = new NtlmPasswordAuthenticator("domain", "user", new String(diffAtMiddle));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
    
            assertNotNull(block);
            assertSame(next, block.andx, "andx should reference provided SMB");
        }
    
        @Test
        @DisplayName("getBatchLimit defaults to 0")
        void testGetBatchLimitDefault() {
            DummyAndXBlock block = new DummyAndXBlock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/BooleansTest.java

      public void testRotate() {
        testRotate(new boolean[] {}, -1, new boolean[] {});
        testRotate(new boolean[] {}, 0, new boolean[] {});
        testRotate(new boolean[] {}, 1, new boolean[] {});
    
        testRotate(new boolean[] {true}, -2, new boolean[] {true});
        testRotate(new boolean[] {true}, -1, new boolean[] {true});
        testRotate(new boolean[] {true}, 0, new boolean[] {true});
        testRotate(new boolean[] {true}, 1, new boolean[] {true});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            // Verify no data was written
            assertArrayEquals(new byte[100], dst);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat writes correct data")
        void testWriteParametersWireFormat() throws Exception {
            netShareEnum = new NetShareEnum(realConfig);
            byte[] dst = new byte[256];
            int dstIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

                    .status(ApiResult.Status.OK)
                    .result());
        }
    
        /**
         * Create a new character mapping entry for the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param body create request payload
         * @return JSON response containing creation result and new entry ID
         */
        // POST /api/admin/dict/mapping/setting/{dictId}
        @Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top