Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 4,648 for new1 (0.03 sec)

  1. src/main/java/org/codelibs/core/net/UuidUtil.java

    public abstract class UuidUtil {
    
        /**
         * Do not instantiate.
         */
        protected UuidUtil() {
        }
    
        private static final byte[] DEFAULT_ADDRESS = new byte[] { (byte) 127, (byte) 0, (byte) 0, (byte) 1 };
    
        private static final SecureRandom RANDOM = new SecureRandom();
    
        private static final String BASE = StringUtil.toHex(getAddress()) + StringUtil.toHex(System.identityHashCode(RANDOM));
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

    /**
     * @author shot
     */
    public class CloseableUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testClose() throws Exception {
            final NotifyOutputStream out = new NotifyOutputStream();
            CloseableUtil.close(out);
            assertThat(out.getNotify(), is("closed"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
            // WEB-INF/lib
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
        }
    
        @Test
        void testConstructor() {
            // Test constructor with SMB_INFO_ALLOCATION
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class CurrentDateHeader {
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new CurrentDateInterceptor())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Oct 31 15:32:50 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebAuthentication.java

            return new AuthenticationImpl(getAuthScope(), getCredentials(), getAuthScheme());
        }
    
        private AuthScheme getAuthScheme() {
            final String scheme = getProtocolScheme();
            if (Constants.BASIC.equals(scheme)) {
                return new BasicScheme();
            }
            if (Constants.DIGEST.equals(scheme)) {
                return new DigestScheme();
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] dst = new byte[100];
    
            int result = notifyChange.writeDataWireFormat(dst, 10);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readSetupWireFormat returns zero")
        void testReadSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

            .createTestSuite();
      }
    
      private static String[] dedupe(String[] elements) {
        Set<String> tmp = new LinkedHashSet<>();
        Collections.addAll(tmp, elements);
        return tmp.toArray(new String[0]);
      }
    
      static <T> Comparator<T> arbitraryNullFriendlyComparator() {
        return new NullFriendlyComparator<>();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

            public boolean isGuest() {
                return this.guest;
            }
        }
    
        static Stream<boolean[]> anonGuestFlags() {
            return Stream.of(new boolean[] { false, false }, new boolean[] { true, false }, new boolean[] { false, true },
                    new boolean[] { true, true });
        }
    
        @ParameterizedTest
        @MethodSource("anonGuestFlags")
        @DisplayName("unwrap, domain, anonymous/guest flags happy paths")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/QueryTestBase.java

            setupBaseFessConfig();
    
            // Initialize QueryFieldConfig
            QueryFieldConfig queryFieldConfig = new QueryFieldConfig();
            queryFieldConfig.init();
            ComponentUtil.register(queryFieldConfig, "queryFieldConfig");
    
            // Initialize QueryParser
            QueryParser queryParser = new QueryParser();
            queryParser.init();
            ComponentUtil.register(queryParser, "queryParser");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top