Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 381 for fileName (0.2 sec)

  1. docs_src/request_files/tutorial001_02_py310.py

    
    @app.post("/uploadfile/")
    async def create_upload_file(file: UploadFile | None = None):
        if not file:
            return {"message": "No upload file sent"}
        else:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 470 bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

        override fun transform(outputs: TransformOutputs) {
            for (entry in parameters.keepClassesByArtifact) {
                val fileName = artifact.get().asFile.name
                if (fileName.startsWith(entry.key)) {
                    val nameWithoutExtension = Files.getNameWithoutExtension(fileName)
                    minify(artifact.get().asFile, entry.value, outputs.file("$nameWithoutExtension-min.jar"))
                    return
                }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    typedef struct PosixFile {
      const char* filename;
      int fd;
    } PosixFile;
    
    static void Cleanup(TF_RandomAccessFile* file) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
      close(posix_file->fd);
      // This would be safe to free using `free` directly as it is only opaque.
      // However, it is better to be consistent everywhere.
      plugin_memory_free(const_cast<char*>(posix_file->filename));
      delete posix_file;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        private byte[] fileId = new byte[16];
        private CreateContextResponse[] createContexts;
        private final String fileName;
    
    
        /**
         * @param config
         * @param name
         */
        public Smb2CreateResponse ( Configuration config, String name ) {
            super(config);
            this.fileName = name;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.6K bytes
    - Viewed (0)
  5. tensorflow/c/checkpoint_reader.cc

    CheckpointReader::CheckpointReader(const string& filename, TF_Status* status)
        : reader_(nullptr),
          v2_reader_(nullptr),
          var_to_shape_map_(nullptr),
          var_to_data_type_map_(nullptr) {
      // Depending on whether this is a V2 ckpt, initializes "reader_" or
      // "v2_reader_".
      std::vector<string> v2_path;
      if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() &&
          !v2_path.empty()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. cmd/namespace-lock.go

    }
    
    func getSource(n int) string {
    	var funcName string
    	pc, filename, lineNum, ok := runtime.Caller(n)
    	if ok {
    		filename = pathutil.Base(filename)
    		funcName = strings.TrimPrefix(runtime.FuncForPC(pc).Name(),
    			"github.com/minio/minio/cmd.")
    	} else {
    		filename = "<unknown>"
    		lineNum = 0
    	}
    
    	return fmt.Sprintf("[%s:%d:%s()]", filename, lineNum, funcName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/Lmhosts.java

        }
    
        synchronized static NbtAddress getByName( Name name ) {
            NbtAddress result = null;
    
            try {
                if( FILENAME != null ) {
                    File f = new File( FILENAME );
                    long lm;
    
                    if(( lm = f.lastModified() ) > lastModified ) {
                        lastModified = lm;
                        TAB.clear();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                    final String index;
                    final String filename;
                    if (id.endsWith(".bulk")) {
                        index = id.substring(0, id.length() - 5);
                        filename = id;
                    } else {
                        index = id;
                        filename = id + ".bulk";
                    }
                    return asStream(filename).contentTypeOctetStream().stream(out -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
                return asStream(filename).contentTypeOctetStream().stream(out -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. 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 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top