Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 157 for malloc (0.15 sec)

  1. tensorflow/c/c_test.c

      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
      TF_Status* status = TF_NewStatus();
      TF_NewWritableFile(full_path, &h, status);
      if (TF_GetCode(status) != TF_OK) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/admin-server-info.go

    		Endpoint: addr,
    		Uptime:   UTCNow().Unix() - globalBootTime.Unix(),
    		Version:  Version,
    		CommitID: CommitID,
    		Network:  network,
    		MemStats: madmin.MemStats{
    			Alloc:      memstats.Alloc,
    			TotalAlloc: memstats.TotalAlloc,
    			Mallocs:    memstats.Mallocs,
    			Frees:      memstats.Frees,
    			HeapAlloc:  memstats.HeapAlloc,
    		},
    		GoMaxProcs:     runtime.GOMAXPROCS(0),
    		NumCPU:         runtime.NumCPU(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.9K bytes
    - Viewed (1)
  3. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc + ",bytesPerSect="
                        + this.bytesPerSect + "]");
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

        static final int SMB_FS_FULL_SIZE_INFORMATION = 1007;
    
        class SmbInfoAllocation implements AllocInfo {
            long alloc;                  // Also handles SmbQueryFSSizeInfo
            long free;
            int sectPerAlloc;
            int bytesPerSect;
    
            public long getCapacity() {
                return alloc * sectPerAlloc * bytesPerSect;
            }
            public long getFree() {
                return free * sectPerAlloc * bytesPerSect;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc + ",bytesPerSect="
                        + this.bytesPerSect + "]");
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            buf.advance(16); /* momentarily skip header */
            if ( this.ptype == 0 ) { /* Request */
                alloc_hint_index = buf.getIndex();
                buf.enc_ndr_long(0); /* momentarily skip alloc hint */
                buf.enc_ndr_short(0); /* context id */
                buf.enc_ndr_short(getOpnum());
            }
    
            encode_in(buf);
            this.length = buf.getIndex() - start;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/lang/no.js

    feilet!",groupCheckedEnd:" ting",groupCheckedRangeStart:"Vennligst velg mellom ",groupCheckedTooFewStart:"Vennligst velg minst ",groupCheckedTooManyStart:"Vennligst velg maksimum ",imageRatioNotAccepted:"Bildestørrelse ikke akseptert",imageTooSmall:"bildet er for lite",imageTooTall:"bildet kan ikke være høyere enn",imageTooWide:"bildet kan ikke være bredere enn",lengthBadEnd:"tegn",lengthBadStart:"Inntastingsverdien må være mellom ",lengthTooLongStart:"Inntastingsverdien er lenger enn ",lengthTooSh...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  8. cmd/untar.go

    				rc := disconnectReader{r: bytes.NewReader(b)}
    				defer func() {
    					rc.Close()
    					<-asyncWriters
    					wg.Done()
    					//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    					poolBuf128k.Put(b)
    				}()
    				if err := putObject(&rc, fi, name); err != nil {
    					if o.ignoreErrs {
    						s3LogIf(ctx, err)
    						return
    					}
    					asyncErrMu.Lock()
    					if asyncErr == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (2)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            buf.advance(16); /* momentarily skip header */
            if (ptype == 0) { /* Request */
                alloc_hint_index = buf.getIndex();
                buf.enc_ndr_long(0); /* momentarily skip alloc hint */
                buf.enc_ndr_short(0); /* context id */
                buf.enc_ndr_short(getOpnum());
            }
    
            encode_in(buf);
            length = buf.getIndex() - start;
    
            if (ptype == 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
    
        @Override
        public String toString () {
            return new String(
                "SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc + ",bytesPerSect="
                        + this.bytesPerSect + "]");
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
Back to top