Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1051 - 1060 of 5,478 for newE (0.04 seconds)

  1. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

        void testCauseConstructor() {
            // Given
            NoSuchAlgorithmException cause = new NoSuchAlgorithmException("AES-GCM algorithm not available");
    
            // When
            CIFSUnsupportedCryptoException exception = new CIFSUnsupportedCryptoException(cause);
    
            // Then
            assertSame(cause, exception.getCause(), "Crypto cause should be preserved");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/pac/PacSignature.java

            try {
                final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
                this.type = bufferStream.readInt();
                switch (this.type) {
                case KERB_CHECKSUM_HMAC_MD5:
                    this.checksum = new byte[16];
                    break;
                case HMAC_SHA1_96_AES128:
                case HMAC_SHA1_96_AES256:
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/MIEName.java

            // MECH_OID
            if (buf.length < i + len) {
                throw new IllegalArgumentException();
            }
            final byte[] bo = new byte[len];
            System.arraycopy(buf, i, bo, 0, len);
            i += len;
            this.oid = ASN1ObjectIdentifier.getInstance(bo);
    
            // NAME_LEN
            if (buf.length < i + NAME_LEN_SIZE) {
                throw new IllegalArgumentException();
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/BuilderCommonTest.java

        @Test
        void testGetKey() throws Exception {}
    
        public BuilderCommon getBuilderCommon(Logger logger) {
            final LifecycleDebugLogger debugLogger = new LifecycleDebugLogger();
            return new BuilderCommon(
                    debugLogger, new LifecycleExecutionPlanCalculatorStub(), mock(ExecutionEventCatapult.class), logger);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/Encdec.java

            long t;
    
            return switch (enc) {
            case TIME_1970_SEC_32BE -> new Date(dec_uint32be(src, si) * 1000L);
            case TIME_1970_SEC_32LE -> new Date(dec_uint32le(src, si) * 1000L);
            case TIME_1904_SEC_32BE -> new Date(((dec_uint32be(src, si) & 0xFFFFFFFFL) - SEC_BETWEEEN_1904_AND_1970) * 1000L);
            case TIME_1904_SEC_32LE -> new Date(((dec_uint32le(src, si) & 0xFFFFFFFFL) - SEC_BETWEEEN_1904_AND_1970) * 1000L);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final byte[] decode = Base64.getUrlDecoder().decode(hash.substring(SIMILAR_DOC_HASH_PREFIX.length()));
                try (BufferedReader reader =
                        new BufferedReader(new InputStreamReader(new GZIPInputStream(new ByteArrayInputStream(decode)), Constants.UTF_8))) {
                    return ReaderUtil.readText(reader);
                } catch (final IOException e) {
                    if (logger.isDebugEnabled()) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

            void testReadParametersWireFormat() {
                byte[] buffer = new byte[10];
                int result = response.readParametersWireFormat(buffer, 0, 2);
                assertEquals(2, result);
            }
    
            @Test
            @DisplayName("Should write setup wire format")
            void testWriteSetupWireFormat() {
                byte[] buffer = new byte[100];
                int result = response.writeSetupWireFormat(buffer, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKanaTest.java

        @Test
        public void test_constructor() throws Exception {
            HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
            assertNotNull(normalizer);
        }
    
        @Test
        public void test_basicKatakana() throws Exception {
            HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
    
            String result = normalizer.normalize("アイウエオ", "field");
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

        dispatcher = Dispatcher.legacyAsync();
    
        CyclicBarrier barrier = new CyclicBarrier(2);
        CountDownLatch latch = new CountDownLatch(2);
    
        new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      barrier.await();
                    } catch (Exception e) {
                      throw new AssertionError(e);
                    }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

          new ListenerCallQueue.Event<Object>() {
            @Override
            public void call(Object object) {
              throw new RuntimeException();
            }
    
            @Override
            public String toString() {
              return "throwing()";
            }
          };
    
      public void testEnqueueAndDispatch() {
        Object listener = new Object();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top