Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1691 - 1700 of 4,648 for new1 (0.03 sec)

  1. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        public static final WithExceptionalConstructor INSTANCE =
            new WithExceptionalConstructor("whatever");
    
        public WithExceptionalConstructor() {
          throw new RuntimeException();
        }
    
        private WithExceptionalConstructor(String unused) {}
      }
    
      private static class WithPublicConstant {
        @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            final String dictionaryPath = System.getProperty("fess.dictionary.path", StringUtil.EMPTY);
            final StringBuilder sb = new StringBuilder();
            try (BufferedReader br =
                    new BufferedReader(new InputStreamReader(this.getClass().getClassLoader().getResourceAsStream(getSuggestAnalyzerPath())))) {
    
                String line;
                while ((line = br.readLine()) != null) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertTrue(padding >= 0);
        }
    
        @Test
        @DisplayName("Test write operations")
        void testWriteOperations() {
            byte[] dst = new byte[1024];
    
            // Initialize transaction buffer to avoid NPE
            transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]);
    
            // Test parameter words wire format
            int paramWords = transaction.writeParameterWordsWireFormat(dst, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.set(new Foo()));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Foo>create()));
        // Check that the future has been set properly.
        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
        assertThrows(TimeoutException.class, () -> future.get(0, MILLISECONDS));
        FooChild value = new FooChild();
        nested.set(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/InputStreamUtil.java

         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileInputStream(file);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Gets a byte array from an {@link InputStream}.
         * <p>
         * The input stream is not closed.
         * </p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

                throws IOException {
            this.handle = handle;
            final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
                throw new SmbException(rpc.retval, false);
            }
            this.opened = true;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/SecurityConfigurationTest.java

        /**
         * Test that default security settings meet minimum security requirements
         */
        @Test
        public void testSecureDefaults() throws CIFSException {
            BaseConfiguration config = new BaseConfiguration(true);
    
            // Verify minimum SMB version is at least SMB 2.0.2 (SMB1 disabled)
            assertTrue("Minimum version should be at least SMB2.0.2", config.getMinimumVersion().atLeast(DialectVersion.SMB202));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

        // -----------------------------------------------------
        //                                            Entry Page
        //                                            ----------
        /**
         * Displays the create new file authentication page.
         *
         * @return HTML response for the create page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse createnew() {
            saveToken();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

        //                                         Actually Crud
        //                                         -------------
        /**
         * Creates a new request header item.
         *
         * @param form the create form containing the new item data
         * @return HTML response redirecting to the list page after creation
         */
        @Execute
        @Secured({ ROLE })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotEmpty("path", path);
    
            final Properties props = new Properties();
            final InputStream is = getResourceAsStream(path);
            try {
                props.load(is);
                return props;
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
            } finally {
                CloseableUtil.close(is);
            }
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top