Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 663 for flagm (0.02 sec)

  1. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING);
            assertEquals(-1, SmbConstants.FOREVER);
        }
    
        @Test
        @DisplayName("Should validate flag combinations work correctly")
        void testFlagCombinations() {
            // Test that flags can be combined with bitwise OR
            int combinedShareAccess = SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
            assertEquals(0x03, combinedShareAccess);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x4000, SmbConstants.FLAGS2_STATUS32);
            assertEquals(0x8000, SmbConstants.FLAGS2_UNICODE);
        }
    
        /**
         * Test capability flags.
         */
        @Test
        @DisplayName("Capability flags are correct")
        void capabilityFlagsTest() {
            // Test individual capability values
            assertEquals(0x0004, SmbConstants.CAP_UNICODE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/buildall.bash

    	unset GOARM
    	if [ "$GOARCH" = "arm5" ]; then
    		export GOARCH=arm
    		export GOARM=5
    	fi
    
    	# Build and vet everything.
    	# cmd/go/internal/work/exec.go enables the same vet flags during go test of std cmd
    	# and should be kept in sync with any vet flag changes here.
    	if ! "$GOROOT/bin/go" build std cmd || ! "$GOROOT/bin/go" vet -unsafeptr=false std cmd; then
    		failed=true
    		if $sete; then
    			exit 1
    		fi
    	fi
    done
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Apr 23 17:45:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                assertNotNull(bytes);
                // Ensure target name is NOT written to the byte array
                int flags = Type2Message.readULong(bytes, 20);
                assertFalse((flags & Type2Message.NTLMSSP_REQUEST_TARGET) != 0);
            }
    
            @Test
            @DisplayName("toByteArray should not set target info flag when target info is null")
            void testToByteArray_TargetInfoNull_FlagNotSet() throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    	// as UTF-8, they will need to set the flag bit themselves.
    	utf8Valid1, utf8Require1 := detectUTF8(fh.Name)
    	utf8Valid2, utf8Require2 := detectUTF8(fh.Comment)
    	switch {
    	case fh.NonUTF8:
    		fh.Flags &^= 0x800
    	case (utf8Require1 || utf8Require2) && (utf8Valid1 && utf8Valid2):
    		fh.Flags |= 0x800
    	}
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jan 28 04:20:09 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

        /**
         * Session flag indicating this is a guest session
         */
        public static final int SMB2_SESSION_FLAGS_IS_GUEST = 0x1;
    
        /**
         * Session flag indicating this is a null/anonymous session
         */
        public static final int SMB2_SESSION_FLAGS_IS_NULL = 0x2;
    
        /**
         * Session flag indicating data encryption is required for this session
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (1)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        @Test
        void testPtypeAndFlagsValues() {
            // Verify specific flag values are correctly set
            assertEquals(0, msrpcShareGetInfo.getPtype());
    
            // Check individual flag bits
            int flags = msrpcShareGetInfo.getFlags();
            assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0);
            assertTrue((flags & DcerpcConstants.DCERPC_LAST_FRAG) != 0);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should handle all flags set")
            void testAllFlagsSet() {
                int allFlags = 0xFFFFFFFF;
                testMessage.addFlags(allFlags);
                assertEquals(allFlags, testMessage.getFlags());
    
                // Should still be able to clear specific flags
                testMessage.clearFlags(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SidResolver.java

         * @param domsid the domain SID
         * @param rid the group RID
         * @param flags resolution flags
         * @return the SIDs of the group members
         * @throws CIFSException if there is an error retrieving group members
         */
        SID[] getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags) throws CIFSException;
    
        /**
         * Gets the domain SID for the specified server.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. docs/debugging/healing-bin/main.go

      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top