Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 964 for setI (0.01 sec)

  1. src/main/java/jcifs/smb/SmbTreeImpl.java

         */
        private void emergencyCleanup() {
            try {
                // Force usage count to zero
                this.usageCount.set(0);
    
                synchronized (this) {
                    // Force disconnection
                    this.connectionState.set(0);
                    this.tid = -1;
    
                    // Clear any cached resources
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

            final FileOutputStream out = new FileOutputStream(file);
            try {
                out.write(content.getBytes("UTF-8"));
            } finally {
                out.close();
            }
    
            // Set maxSize larger than file size
            final byte[] bytes = FileUtil.readBytes(file, 1024);
            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Set Info response message. This response acknowledges the successful
     * modification of file or security information.
     *
     * @author mbechler
     *
     */
    public class Smb2SetInfoResponse extends ServerMessageBlock2Response {
    
        /**
         * Constructs a SMB2 set info response with the specified configuration
         *
         * @param config
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NtlmAuthenticator.java

        private String url;
        private SmbAuthException sae;
    
        /**
         * Set the default <code>NtlmAuthenticator</code>. Once the default authenticator is set it cannot be changed. Calling
         * this metho again will have no effect.
         *
         * @param a the authenticator to set as default
         */
    
        public synchronized static void setDefault(final NtlmAuthenticator a) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            ServerMessageBlock2Request mockNext = mock(ServerMessageBlock2Request.class);
    
            // Set response as received using reflection
            Method setReceivedMethod = ServerMessageBlock2Response.class.getDeclaredMethod("received");
            setReceivedMethod.setAccessible(true);
            setReceivedMethod.invoke(response);
    
            // Set tree ID
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/RelatedQueryService.java

            ComponentUtil.getRelatedQueryHelper().update();
        }
    
        /**
         * Sets up the search conditions for the related query list based on the pager parameters.
         * This method configures wildcard searches for term and queries fields, and sets up ordering.
         *
         * @param cb the condition bean for building the query
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

                // Note: validateCalled will be false because exception is thrown
                // before the flag can be set, which is the expected behavior
                assertFalse("validateCalled should be false as exception thrown before flag set", extractor.isValidateCalled());
            }
        }
    
        /**
         * Test that validateInputStream is consistent across multiple calls.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Use reflection to reset the static instance field to null
            Field instanceField = LogStream.class.getDeclaredField("inst");
            instanceField.setAccessible(true);
            instanceField.set(null, null);
        }
    
        @Test
        void testConstructor() {
            // Test constructor creates a LogStream that extends PrintStream
            LogStream logStream = new LogStream(testStream);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(transport.getContext()).thenReturn(cifsContext);
        }
    
        // Helper to set private fields for targeted edge cases
        private static void setField(Object target, String name, Object value) {
            try {
                Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
                f.set(target, value);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

        void testFieldConfiguration() {
            TestLocking t = new TestLocking();
    
            // Set custom values
            t.numThreads = 5;
            t.numIter = 10;
            t.delay = 250L;
            t.url = "smb://custom/path/file.txt";
    
            // Verify values are set
            assertEquals(5, t.numThreads, "numThreads should be configurable");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top