Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 4,648 for new1 (0.06 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

      private transient AtomicLongArray longs;
    
      /**
       * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero.
       *
       * @param length the length of the array
       */
      public AtomicDoubleArray(int length) {
        this.longs = new AtomicLongArray(length);
      }
    
      /**
       * Creates a new {@code AtomicDoubleArray} with the same length as, and all elements copied from,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

        @Test
        public void testMultipleConverterInstances() throws IOException {
            // Test that multiple converter instances work independently
            ReadingConverter converter1 = new TestReadingConverter();
            ReadingConverter converter2 = new TestReadingConverter();
    
            converter1.init();
            converter2.init();
    
            String text = "test";
            String field = "content";
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            JAASAuthenticator auth = new JAASAuthenticator("DOM", "user", "pass");
            NameCallback nc = new NameCallback("user:");
            PasswordCallback pc = new PasswordCallback("pass:", false);
    
            // Exercise callback handler with both callbacks supplied
            Callback[] cbs = new Callback[] { nc, pc };
            auth.handle(cbs);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

                    // endpointGroup = new RdmaActiveEndpointGroup<DisniRdmaEndpoint>(
                    //     1000, false, 128, 4, 128);
                    // endpointGroup.init(new DisniRdmaEndpointFactory());
    
                    // For now, we'll just create placeholder objects
                    endpointGroup = new Object();
                    endpoint = new Object();
    
                    initialized = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/AssertionUtil.java

        public static void assertArgumentArrayIndex(final String argName, final int argValue, final int arraySize) {
            if (argValue < 0) {
                throw new ClIllegalArgumentException(argName, "ECL0014", asArray(argName));
            }
            if (argValue >= arraySize) {
                throw new ClIllegalArgumentException(argName, "ECL0015", asArray(argName, arraySize));
            }
        }
    
        /**
         * Asserts that the argument is valid.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

                f.setAccessible(true);
                f.set(c, val);
            } catch (Exception e) {
                throw new AssertionError(e);
            }
        }
    
        // Helper to build a minimal smb URL
        private static URL smbUrl(String spec) throws Exception {
            return new URL(null, spec, new Handler());
        }
    
        @Test
        @DisplayName("getConfig returns context config")
        void getConfig_returnsConfig() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ReaderUtil.java

            assertArgumentNotNull("file", file);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new InputStreamReader(new FileInputStream(file), encoding);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Reads a single line from the given {@link BufferedReader}.
         *
         * @param reader
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

                    Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }),
                    Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }),
                    Arguments.of(DialectVersion.SMB311, DialectVersion.SMB311, new int[] { 0x0311 }));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java

    public final class PreemptiveAuth {
      private final OkHttpClient client;
    
      public PreemptiveAuth() {
        client = new OkHttpClient.Builder()
            .addInterceptor(
                new BasicAuthInterceptor("publicobject.com", "jesse", "password1"))
            .build();
      }
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/secrets/hellosecret.txt")
            .build();
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Nov 05 07:46:46 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java

        /**
         * Creates a new TextExtractor instance.
         */
        public TextExtractor() {
            super();
        }
    
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
Back to top