Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 468 for filename (0.06 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComSetInformation.java

        private long lastWriteTime;
    
    
        /**
         * 
         * @param config
         * @param filename
         * @param attrs
         * @param mtime
         */
        public SmbComSetInformation ( Configuration config, String filename, int attrs, long mtime ) {
            super(config, SMB_COM_SET_INFORMATION, filename);
            this.fileAttributes = attrs;
            this.lastWriteTime = mtime;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

    
        /**
         * 
         * @param config
         * @param filename
         * @param informationLevel
         */
        public Trans2QueryPathInformation ( Configuration config, String filename, int informationLevel ) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_QUERY_PATH_INFORMATION);
            this.path = filename;
            this.informationLevel = informationLevel;
            this.totalDataCount = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. istioctl/pkg/proxystatus/proxystatus.go

    )
    
    var configDumpFile string
    
    func readConfigFile(filename string) ([]byte, error) {
    	file := os.Stdin
    	if filename != "-" {
    		var err error
    		file, err = os.Open(filename)
    		if err != nil {
    			return nil, err
    		}
    	}
    	defer func() {
    		if err := file.Close(); err != nil {
    			log.Errorf("failed to close %s: %s", filename, err)
    		}
    	}()
    	data, err := io.ReadAll(file)
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. docs_src/request_files/tutorial001_03.py

        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: UploadFile = File(description="A file read as UploadFile"),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 371 bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject_test.go

    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    func TestKubeInject(t *testing.T) {
    	cases := []testutil.TestCase{
    		{ // case 0
    			Args:           []string{},
    			ExpectedRegexp: regexp.MustCompile(`filename not specified \(see --filename or -f\)`),
    			WantException:  true,
    		},
    		{ // case 1
    			Args:           strings.Split("-f missing.yaml", " "),
    			ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. docs_src/request_files/tutorial001_02.py

    
    @app.post("/uploadfile/")
    async def create_upload_file(file: Union[UploadFile, None] = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 508 bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComQueryInformation.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    class SmbComQueryInformation extends ServerMessageBlock {
    
        SmbComQueryInformation( String filename ) {
            path = filename;
            command = SMB_COM_QUERY_INFORMATION;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java

    import jcifs.smb1.util.Hexdump;
    
    class Trans2QueryPathInformation extends SmbComTransaction {
    
        private int informationLevel;
    
        Trans2QueryPathInformation( String filename, int informationLevel ) {
            path = filename;
            this.informationLevel = informationLevel;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_QUERY_PATH_INFORMATION;
            totalDataCount = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

        private final DfsReferralRequestBuffer request;
    
    
        /**
         * 
         * @param config
         * @param filename
         */
        public Trans2GetDfsReferral ( Configuration config, String filename ) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_GET_DFS_REFERRAL);
            this.request = new DfsReferralRequestBuffer(filename, 3);
            this.totalDataCount = 0;
            this.maxParameterCount = 0;
            this.maxDataCount = 4096;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
Back to top