Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 417 for sflags2 (0.18 seconds)

  1. cmd/xl-storage.go

    		if len(b) > xioutil.DirectioAlignSize {
    			r := bytes.NewReader(b)
    			return s.writeAllDirect(ctx, filePath, r.Size(), r, flags, skipParent, true)
    		}
    		w, err = s.openFileSync(filePath, flags, skipParent)
    	} else {
    		w, err = s.openFile(filePath, flags, skipParent)
    	}
    	if err != nil {
    		return err
    	}
    
    	_, err = w.Write(b)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(FILE_NOTIFY_CHANGE_DIR_NAME, SMBUtil.readInt4(dst2, 0));
            assertEquals(FILE_NOTIFY_CHANGE_ATTRIBUTES, SMBUtil.readInt4(dst3, 0));
    
            // Verify watch tree flags
            assertEquals(0x00, dst1[6]);
            assertEquals(0x01, dst2[6]);
            assertEquals(0x00, dst3[6]);
        }
    
        @Test
        @DisplayName("Test setup count initialization")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

            assertEquals(originalInfo.getAttributes(), decodedInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test with various attribute flags")
        void testWithVariousAttributeFlags() {
            // Test common file attribute combinations
            int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY
                    0x02, // FILE_ATTRIBUTE_HIDDEN
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            }
    
            // Mock number of links (4 bytes)
            buffer[16] = 0x01;
            buffer[17] = 0x00;
            buffer[18] = 0x00;
            buffer[19] = 0x00;
    
            // Mock delete pending and directory flags
            buffer[20] = 0x00;
            buffer[21] = 0x00;
    
            return buffer;
        }
    
        private byte[] createMockFileInternalInfoBuffer() {
            // Create a buffer that represents FileInternalInfo data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojo.java

     *      </td>
     *   </tr>
     *   <tr>
     *      <td>requiresDependencyResolution</td>
     *      <td>requiresDependencyResolution = ResolutionScope.&lt;scope&gt;</td>
     *      <td>No</td>
     *      <td>Flags this Mojo as requiring the dependencies in the specified scope (or an implied scope) to be
     *          resolved before it can execute.
     *          <br>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            assertTrue(handle.isSameTree(other));
            assertFalse(handle.isSameTree(other));
            verify(treeConnection, times(2)).isSame(otherConn);
        }
    
        @Test
        @DisplayName("Buffer sizes and signing flags from negotiate response")
        void bufferSizesAndSigning() throws Exception {
            // Validate buffer sizes and signing flag are read from negotiate response
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

                this.andx.headerStart = this.headerStart;
                this.andx.setCommand(this.andxCommand);
                this.andx.setErrorCode(getErrorCode());
                this.andx.setFlags(getFlags());
                this.andx.setFlags2(getFlags2());
                this.andx.setTid(getTid());
                this.andx.setPid(getPid());
                this.andx.setUid(getUid());
                this.andx.setMid(getMid());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
            // Mark as server response to be realistic (optional)
            SMBUtil.writeInt4(0x00000001, hdr, 16); // Flags = SMB2_FLAGS_SERVER_TO_REDIR
            return hdr;
        }
    
        // Helper: build SMB2 IOCTL response body (without header) with structureSize=49
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] header = Arrays.copyOf(SMBUtil.SMB2_HEADER, SMBUtil.SMB2_HEADER.length);
            // Mark as server->client response for realism
            SMBUtil.writeInt4(0x00000001, header, 16); // Flags
            // Command SMB2_CREATE (0x0005)
            SMBUtil.writeInt2(0x0005, header, 12);
            // Some message id
            SMBUtil.writeInt8(1L, header, 24);
            return header;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. cmd/net.go

    	logger.FatalIf(err, "Unable to get IP addresses of this host")
    
    	for _, interf := range ifs {
    		addrs, err := interf.Addrs()
    		if err != nil {
    			continue
    		}
    		if runtime.GOOS == "windows" && interf.Flags&net.FlagUp == 0 {
    			continue
    		}
    
    		for _, addr := range addrs {
    			var ip net.IP
    			switch v := addr.(type) {
    			case *net.IPNet:
    				ip = v.IP
    			case *net.IPAddr:
    				ip = v.IP
    			}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.6K bytes
    - Click Count (1)
Back to Top