Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 4,655 for news (0.04 sec)

  1. src/main/java/org/codelibs/curl/io/ContentCache.java

     * {@code
     * // In-memory caching
     * byte[] data = "example data".getBytes();
     * try (ContentCache cache = new ContentCache(data)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
     * }
     *
     * // File-based caching
     * File file = new File("example.txt");
     * try (ContentCache cache = new ContentCache(file)) {
     *     InputStream inputStream = cache.getInputStream();
     *     // Read from inputStream
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/context/SingletonContext.java

            if (INSTANCE != null) {
                throw new CIFSException("Singleton context is already initialized");
            }
            final Properties p = new Properties();
            try {
                final String filename = System.getProperty("jcifs.properties");
                if (filename != null && filename.length() > 1) {
    
                    try (FileInputStream in = new FileInputStream(filename)) {
                        p.load(in);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

                return List.of();
            }
        };
    
        private static final PackagingRegistry EMPTY_PACKAGING_REGISTRY = new PackagingRegistry() {
            @Override
            public Optional<Packaging> lookup(String id) {
                return Optional.of(new Packaging() {
                    @Override
                    public String id() {
                        return id;
                    }
    
                    @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java

            String values;
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
            values = "http://www.foo.com/\nhttp://www.bar.com/";
            assertTrue(UriTypeValidator.check(protocols, values));
    
            protocols = new String[] { "http:" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  protected List<String> create(String[] elements) {
                    // For this test we trust ArrayList works
                    List<String> list = new ArrayList<>();
                    Collections.addAll(list, elements);
                    return new AbstractSequentialList<String>() {
                      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

            this.transport = transport.acquire();
            this.trees = new CopyOnWriteArrayList<>();
            this.credentials = tf.getCredentials().unwrap(CredentialsInternal.class).clone();
    
            // Initialize multi-channel support
            this.channelManager = new ChannelManager(tf, this);
    
            // Initialize SMB3 feature managers
            this.leaseManager = new LeaseManager(tf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 50;
    
            // Act
            int result = response.writeSetupWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("writeParametersWireFormat should return 0")
        void testWriteParametersWireFormat() {
            // Arrange
            byte[] dst = new byte[100];
            int dstIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Supplier<Integer> supplier = new CountingSupplier();
        Function<@Nullable Object, Integer> function = Functions.forSupplier(supplier);
    
        assertEquals(1, (int) function.apply(null));
        assertEquals(2, (int) function.apply("foo"));
    
        new EqualsTester()
            .addEqualityGroup(function, Functions.forSupplier(supplier))
            .addEqualityGroup(Functions.forSupplier(new CountingSupplier()))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

            } catch (GeneralSecurityException e) {
                throw new GeneralSecurityException("Checksum failed while decrypting.");
            }
            byte[] ivec = new byte[8];
            IvParameterSpec params = new IvParameterSpec(ivec);
    
            SecretKeySpec skSpec = new SecretKeySpec(key.getEncoded(), "DES");
            SecretKey sk = skSpec;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            void testMultipleSequentialEncodings() {
                // Given
                SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300);
                SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600);
                SrvCopychunk chunk3 = new SrvCopychunk(700, 800, 900);
                byte[] buffer = new byte[EXPECTED_SIZE * 3];
    
                // When
                int offset1 = chunk1.encode(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top