Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 220 for Chflags (0.03 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         * Constructs an AV flags pair from integer flags
         * @param flags the flag values as integer
         */
        public AvFlags(final int flags) {
            this(encode(flags));
        }
    
        /**
         * Gets the flags as an integer value
         * @return flags
         */
        public int getFlags() {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
        private static byte[] encode(final int flags) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    (see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax).
    For example:
    
    	// #cgo CFLAGS: -DPNG_DEBUG=1
    	// #cgo amd64 386 CFLAGS: -DX86=1
    	// #cgo LDFLAGS: -lpng
    	// #include <png.h>
    	import "C"
    
    Alternatively, CPPFLAGS and LDFLAGS may be obtained via the pkg-config tool
    using a '#cgo pkg-config:' directive followed by the package names.
    For example:
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
                bb.putShort((short) 0); // pathConsumed (will be divided by 2)
                bb.putShort((short) 0); // numReferrals
                bb.putShort((short) 0); // tflags
                bb.putShort((short) 0); // tflags high bytes (skipped in decode)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. Makefile

    	@echo "Building minio binary to './minio'"
    	@CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -tags kqueue -trimpath --ldflags "$(LDFLAGS)" -o $(PWD)/minio 1>/dev/null
    
    hotfix-vars:
    	$(eval LDFLAGS := $(shell MINIO_RELEASE="RELEASE" MINIO_HOTFIX="hotfix.$(shell git rev-parse --short HEAD)" go run buildscripts/gen-ldflags.go $(shell git describe --tags --abbrev=0 | \
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Apr 27 00:44:22 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/Referral.java

         * @return the serverType
         */
        public final int getServerType() {
            return this.serverType;
        }
    
        /**
         * Gets the referral flags.
         *
         * @return the rflags
         */
        public final int getRFlags() {
            return this.rflags;
        }
    
        /**
         * Gets the proximity value indicating the distance to the target.
         *
         * @return the proximity
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

        }
    
        /**
         * Test constructor with integer flags.
         */
        @Test
        void testAvFlagsIntConstructor() {
            // Test with a positive integer
            int flags = 0x12345678;
            AvFlags avFlags = new AvFlags(flags);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        /**
         * Test setting and getting byte field (sflags)
         */
        @ParameterizedTest
        @ValueSource(bytes = { 0x00, 0x01, 0x7F, (byte) 0x80, (byte) 0xFF })
        @DisplayName("Test sflags field with various byte values")
        public void testSflagsField(byte value) {
            // When
            serverData.sflags = value;
    
            // Then
            assertEquals(value, serverData.sflags);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            List<AvPair> pairs = new LinkedList<>();
            AvFlags oldFlags1 = new AvFlags(0x11111111);
            AvFlags oldFlags2 = new AvFlags(0x22222222);
            AvTimestamp timestamp = new AvTimestamp(new byte[8]);
            pairs.add(oldFlags1);
            pairs.add(timestamp);
            pairs.add(oldFlags2);
    
            AvFlags newFlags = new AvFlags(0x33333333);
            AvPairs.replace(pairs, newFlags);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // Header
            bb.putShort((short) 3); // version
            bb.putShort((short) 100); // size (large enough for all strings)
            bb.putShort((short) 1); // serverType
            bb.putShort((short) 0); // rflags (no name list)
            bb.putShort((short) 5); // proximity
            bb.putShort((short) 300); // ttl
            bb.putShort((short) 22); // pathOffset (relative to start of referral)
            bb.putShort((short) 54); // altPathOffset
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

         * @return the numReferrals
         */
        public final int getNumReferrals() {
            return this.numReferrals;
        }
    
        /**
         * Get the referral flags
         *
         * @return the tflags
         */
        public final int getTflags() {
            return this.tflags;
        }
    
        /**
         * Get the array of referral entries
         *
         * @return the referrals
         */
        public final Referral[] getReferrals() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top