Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,556 for free1 (0.05 sec)

  1. src/runtime/malloc.go

    // rounded to one of about 70 size classes, each of which
    // has its own free set of objects of exactly that size.
    // Any free page of memory can be split into a set of objects
    // of one size class, which are then managed using a free bitmap.
    //
    // The allocator's data structures are:
    //
    //	fixalloc: a free-list allocator for fixed-size off-heap objects,
    //		used to manage storage used by the allocator.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    			free = append(free, numa)
    		}
    	}
    	return free
    }
    
    // Returns free socket IDs as a slice sorted by sortAvailableSockets().
    func (a *cpuAccumulator) freeSockets() []int {
    	free := []int{}
    	for _, socket := range a.sortAvailableSockets() {
    		if a.isSocketFree(socket) {
    			free = append(free, socket)
    		}
    	}
    	return free
    }
    
    // Returns free core IDs as a slice sorted by sortAvailableCores().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern const char* TF_GraphDebugString(TF_Graph* graph,
                                                          size_t* len);
    
    // Returns the function content in a human-readable format, with length set in
    // `len`. The format is subject to change in the future.
    // The returned string is heap-allocated, and caller should call free() on it.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    	}
    	return args, nil
    }
    
    // CommandLineToArgv parses a Unicode command line string and sets
    // argc to the number of parsed arguments.
    //
    // The returned memory should be freed using a single call to LocalFree.
    //
    // Note that although the return type of CommandLineToArgv indicates 8192
    // entries of up to 8192 characters each, the actual count of parsed arguments
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/LocalComponentDependencyMetadataTest.groovy

            'partial match and multiple attributes'                     | [platform: JavaVersion.JAVA8, flavor: 'free'] | [platform: JavaVersion.JAVA8]                 | [platform: JavaVersion.JAVA7]                 | 'foo'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/bitmap_test.go

    				t.Fatal(err)
    			}
    			if f := r.Free(); f != 1 {
    				t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, 1, f)
    			}
    			if f := r.Used(); f != (tc.free - 1) {
    				t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, tc.free-1, f)
    			}
    			if err := r.Allocate(released); err != nil {
    				t.Fatal(err)
    			}
    			if f := r.Free(); f != 0 {
    				t.Errorf("[%s] wrong free: expected %d, got %d", tc.name, 0, f)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. internal/ringbuffer/ring_buffer_test.go

    	}
    	if rb.Free() != 0 {
    		t.Fatalf("expect free 0 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r)
    	}
    	buf = make([]byte, 16)
    	rb.Read(buf)
    	n, err = rb.Write([]byte(strings.Repeat("1234", 4)))
    	if err != nil {
    		t.Fatalf("write failed: %v", err)
    	}
    	if n != 16 {
    		t.Fatalf("expect write 16 bytes but got %d", n)
    	}
    	if rb.Free() != 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. pkg/registry/core/service/ipallocator/cidrallocator_test.go

    		return allocator.ready.Load(), nil
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	found := sets.NewString()
    	count := 0
    	for r.Free() > 0 {
    		ip, err := r.AllocateNext()
    		if err != nil {
    			t.Fatalf("error @ free: %d count: %d: %v", r.Free(), count, err)
    		}
    		count++
    		if found.Has(ip.String()) {
    			t.Fatalf("allocated %s twice: %d", ip, count)
    		}
    		found.Insert(ip.String())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. src/log/slog/handler.go

    		*s.groups = append(*s.groups, h.groups[:h.nOpenGroups]...)
    	}
    	return s
    }
    
    func (s *handleState) free() {
    	if s.freeBuf {
    		s.buf.Free()
    	}
    	if gs := s.groups; gs != nil {
    		*gs = (*gs)[:0]
    		groupPool.Put(gs)
    	}
    	s.prefix.Free()
    }
    
    func (s *handleState) openGroups() {
    	for _, n := range s.h.groups[s.h.nOpenGroups:] {
    		s.openGroup(n)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 18:18:13 UTC 2023
    - 17.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/regalloc.go

    						// or the input is dead, free the registers. This may make room
    						// for other inputs.
    						oldregs := s.values[v.Args[i.idx].ID].regs
    						if oldregs&^regspec.clobbers == 0 || !s.liveAfterCurrentInstruction(v.Args[i.idx]) {
    							s.freeRegs(oldregs &^ mask &^ s.nospill)
    							freed = true
    						}
    					}
    				}
    				if !freed {
    					break
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top