Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 463 for Flags2 (0.05 seconds)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            int actualResumeKey = SMBUtil.readInt4(buffer, 6);
            assertEquals(newResumeKey, actualResumeKey);
    
            // Check filename is updated (it's at the end after flags)
            String actualFilename = readString(buffer, 12, written - 12);
            assertEquals(newFilename, actualFilename);
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Test setup wire format writing
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
            // Act
            int result = nodeStatusRequest.readWireFormat(src, 0);
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertNotNull(logonInfo.getResourceGroupSids());
            assertEquals(0, logonInfo.getResourceGroupSids().length);
        }
    
        @Test
        @DisplayName("Test user flags using mock")
        void testUserFlags() throws Exception {
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Test with extra SIDs flag
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                buf[i] = (byte) ('A' + (i % 26));
            }
    
            // Call the method under test
            d.readBytesWireFormat(buf, 0);
    
            // After a full read both flags should be set and hasMore should be false
            assertTrue(d.getParametersDone(), "parametersDone should be true after reading");
            assertTrue(d.getDataDone(), "dataDone should be true after reading");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         *
         * @return the shareType
         */
        public byte getShareType() {
            return this.shareType;
        }
    
        /**
         * Returns the flags describing characteristics of the connected share.
         *
         * @return the shareFlags
         */
        public int getShareFlags() {
            return this.shareFlags;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

                    break;
                default:
                    throw new PACDecodingException("Invalid field in kerberos ticket");
                }
            }
        }
    
        /**
         * Get the AP options flags.
         *
         * @return the AP options byte
         */
        public byte getApOptions() {
            return this.apOptions;
        }
    
        /**
         * Get the Kerberos ticket from this AP request.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. cmd/xl-storage-errors.go

    import (
    	"errors"
    	"os"
    	"runtime"
    	"syscall"
    )
    
    // No space left on device error
    func isSysErrNoSpace(err error) bool {
    	return errors.Is(err, syscall.ENOSPC)
    }
    
    // Invalid argument, unsupported flags such as O_DIRECT
    func isSysErrInvalidArg(err error) bool {
    	return errors.Is(err, syscall.EINVAL)
    }
    
    // Input/output error
    func isSysErrIO(err error) bool {
    	return errors.Is(err, syscall.EIO)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Mar 06 16:56:29 GMT 2023
    - 3.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        void testSetQueryFlags() {
            request = new Smb2QueryInfoRequest(mockConfig);
            int testQueryFlags = 0xABCDEF00;
    
            request.setQueryFlags(testQueryFlags);
    
            // Verify query flags were set
            Field queryFlagsField;
            try {
                queryFlagsField = Smb2QueryInfoRequest.class.getDeclaredField("queryFlags");
                queryFlagsField.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  9. docs/debugging/pprofgoparser/main.go

    import (
    	"bufio"
    	"bytes"
    	"flag"
    	"fmt"
    	"log"
    	"math"
    	"os"
    	"path"
    	"regexp"
    	"strconv"
    	"strings"
    	"time"
    )
    
    var (
    	goroutinesRE, searchRE *regexp.Regexp
    
    	// User input flags
    	searchText           string
    	goTime, less, margin time.Duration
    )
    
    func init() {
    	flag.DurationVar(&less, "less", 0, "goroutine waiting less than the specified time")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  10. internal/lock/lock_solaris.go

    }
    
    // LockedOpenFile - initializes a new lock and protects
    // the file from concurrent access across mount points.
    // This implementation doesn't support all the open
    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, syscall.F_SETLKW)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.8K bytes
    - Click Count (0)
Back to Top