Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 7,667 for flaw (0.02 seconds)

  1. src/test/java/jcifs/FileNotifyInformationTest.java

            @Test
            @DisplayName("Test removing specific filter flag")
            void testRemovingFilterFlag() {
                int flags = FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME | FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE
                        | FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE;
    
                // Remove FILE_NOTIFY_CHANGE_SIZE flag
                flags &= ~FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

                }
            }
        }
    
        @Test
        @DisplayName("Test constant values follow bit flag pattern")
        void testConstantsBitFlagPattern() {
            // Most values should be powers of 2 for bit flag usage
            assertTrue(isPowerOfTwo(SecurityInfo.OWNER_SECURITY_INFO));
            assertTrue(isPowerOfTwo(SecurityInfo.GROUP_SECURITY_INFO));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            assertEquals(0L, SMBUtil.readInt8(buffer, 0));
    
            // Check name length
            assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8));
    
            // Check timeout specified flag (should be 0)
            assertEquals(0x0, buffer[12]);
    
            // Check padding
            assertEquals(0x0, buffer[13]);
    
            // Check name bytes
            byte[] encodedName = new byte[nameBytes.length];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

         * and atomic updates to ensure data consistency during modifications.
         */
        protected class MappingUpdater implements Closeable {
    
            /** Flag indicating whether changes should be committed to the file. */
            protected boolean isCommit = false;
    
            /** Temporary file used for writing updates before committing. */
            protected File newFile;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            }
            return sessionId;
        }
    
        /**
         * Stores crawling information and parameters for the specified session.
         * Creates a new crawling info record if none exists or if create flag is true.
         * Also stores any accumulated information parameters and clears the info map.
         *
         * @param sessionId the session ID for the crawling information
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  6. src/cmd/api/api_test.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    		c.Compiler = build.Default.Compiler
    	}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            void testIsShareDfsWithShareFlags() throws Exception {
                // Test with DFS flag
                setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS);
                assertTrue(response.isShareDfs(), "Should detect DFS from DFS flag");
    
                // Test with DFS_ROOT flag
                setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS_ROOT);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         * Processes Google on/off comment directives in the node.
         *
         * @param node the node to process
         * @param flag the flag indicating whether content should be included
         * @return the processed node
         */
        protected Node processGoogleOffOn(final Node node, final ValueHolder<Boolean> flag) {
            final NodeList nodeList = node.getChildNodes();
            List<Node> removedNodeList = null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

        void testIsShareDfsWithFlags() throws SMBProtocolDecodingException {
            // Test with DFS flag only
            byte[] buffer = createValidResponseBuffer(0, 0x1, 0, 0);
            response.readBytesWireFormat(buffer, 0);
            assertTrue(response.isShareDfs());
    
            // Test with DFS_ROOT flag only
            response = new Smb2TreeConnectResponse(mockConfig);
            buffer = createValidResponseBuffer(0, 0x2, 0, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

    public class Smb2Lock implements Encodable {
    
        /**
         * Flag indicating a shared lock that allows concurrent read access.
         */
        public static final int SMB2_LOCKFLAG_SHARED_LOCK = 0x1;
    
        /**
         * Flag indicating an exclusive lock that prevents any other access.
         */
        public static final int SMB2_LOCKFLAG_EXCLUSIVE_LOCK = 0x2;
    
        /**
         * Flag indicating an unlock operation to release a previously held lock.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top