Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1311 - 1320 of 6,020 for new1 (0.1 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> {
                    doThrow(new LoginException("Login failed")).when(mock).login();
                })) {
                    new KerberosCredentials(LOGIN_CONTEXT_NAME);
                }
            });
        }
    
        /**
         * Test getKeys method when subject has Kerberos keys.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        void matchesBehavior() {
            // Two distinct auth instances
            NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1);
            SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2);
            // same auth instance => matches
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

            if (LOGON_SHARE == null) {
                tree.treeConnect(null, null);
            } else {
                final Trans2FindFirst2 req = new Trans2FindFirst2("\\", "*", SmbFile.ATTR_DIRECTORY);
                final Trans2FindFirst2Response resp = new Trans2FindFirst2Response();
                tree.send(req, resp);
            }
        }
    
        /* 0 - not connected
         * 1 - connecting
         * 2 - connected
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/netbios/NameServicePacketTest.java

                Name dummyName = new Name(config, "DUMMY_NAME", 0, null);
                addrEntry[addrIndex] = new NbtAddress(dummyName, 0, false, NbtAddress.B_NODE);
                return 6; // NbtAddress is 6 bytes
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            packet = new TestNameServicePacket(mockConfig);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                final String[] jwt = ((String) tr.get("id_token")).split("\\.");
                final String jwtHeader = new String(decodeBase64(jwt[0]), Constants.UTF_8_CHARSET);
                final String jwtClaim = new String(decodeBase64(jwt[1]), Constants.UTF_8_CHARSET);
                final String jwtSignature = new String(decodeBase64(jwt[2]), Constants.UTF_8_CHARSET);
    
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

     * the same parameters forwarded and return value forwarded back or exception propagated as is.
     *
     * <p>For example:
     *
     * {@snippet :
     * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() {
     *   public Foo apply(Foo foo) {
     *     return new ForwardingFoo(foo);
     *   }
     * });
     * }
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Preconditions.java

          @Nullable Object p4) {
        if (reference == null) {
          throw new NullPointerException(Platform.lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
        return reference;
      }
    
      /*
       * All recent hotspots (as of 2009) *really* like to have the natural code
       *
       * if (guardExpression) {
       *    throw new BadException(messageExpression);
       * }
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            final String mimeType = responseData.getMimeType();
            final StringBuilder contentMetaBuf = new StringBuilder(1000);
            final Map<String, Object> dataMap = new HashMap<>();
            final Map<String, Object> metaDataMap = new HashMap<>();
            String content;
            try (final InputStream in = responseData.getResponseBody()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

            throw new UnsupportedOperationException(msg);
        }
    
        @Override
        protected <RESULT extends Entity> ListResultBean<RESULT> createListResultBean(final ConditionBean cb, final List<RESULT> selectedList) {
            if (selectedList instanceof EsPagingResultBean) {
                return (ListResultBean<RESULT>) selectedList;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java

                            result.getRequestHeaderList().add(new Pair<>(e.getKey(), e.getValue().toString()));
                        }
                    });
                }
                return result;
            } catch (final Exception e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 4.8K bytes
    - Click Count (0)
Back to Top