Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 799 for free1 (0.08 sec)

  1. 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)
  2. 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)
  3. pkg/registry/core/service/ipallocator/ipallocator_test.go

    			}
    			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: Sun Jun 25 13:14:46 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      std::string translated_name = TranslateName(dir);
      // Note that `children` is allocated by the plugin and freed by core
      // TensorFlow, so we need to use `plugin_memory_free_` here.
      char** children = nullptr;
      const int num_children =
          ops_->get_children(filesystem_.get(), translated_name.c_str(), &children,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  5. src/runtime/pinner.go

    // [Pinner.Pin] method pins one object, while [Pinner.Unpin] unpins all pinned
    // objects. See their comments for more information.
    type Pinner struct {
    	*pinner
    }
    
    // Pin pins a Go object, preventing it from being moved or freed by the garbage
    // collector until the [Pinner.Unpin] method has been called.
    //
    // A pointer to a pinned object can be directly stored in C memory or can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildConfigurationAttributesResolveIntegrationTest.groovy

            }
    
            where:
            type         | freeValue                      | paidValue
            'SomeEnum'   | 'SomeEnum.free'                | 'SomeEnum.paid'
            'Thing'      | 'objects.named(Thing, "free")' | 'objects.named(Thing, "paid")'
            'OtherThing' | 'new OtherThing(name: "free")' | 'new OtherThing(name: "paid")'
        }
    
        def "compatibility and disambiguation rules can be defined by consuming build"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/func.go

    		f.Fatalf("unCached value %s not found in cache, auxInt=0x%x, adjusted aux=0x%x", v.LongString(), v.AuxInt, aux)
    	}
    }
    
    // freeValue frees a value. It must no longer be referenced or have any args.
    func (f *Func) freeValue(v *Value) {
    	if v.Block == nil {
    		f.Fatalf("trying to free an already freed value")
    	}
    	if v.Uses != 0 {
    		f.Fatalf("value %s still has %d uses", v, v.Uses)
    	}
    	if len(v.Args) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. LICENSE

    a de-facto standard.  To achieve this, non-free programs must be
    allowed to use the library.  A more frequent case is that a free
    library does the same job as widely used non-free libraries.  In this
    case, there is little to gain by limiting the free library to free
    software only, so we use the Lesser General Public License.
    
      In other cases, permission to use a particular library in non-free
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  9. src/runtime/trace.go

    	// flush their own buffers in traceThreadDestroy.
    	//
    	// Snapshotting freem is necessary because Ms can continue to emit events
    	// while they're still on that list. Removal from sched.freem is serialized with
    	// this snapshot, so either we'll capture an m on sched.freem and race with
    	// the removal to flush its buffers (resolved by traceThreadDestroy acquiring
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    		},
    		{
    			"Restore valid checkpoint",
    			`{
    				"policyName":"static",
    				"machineState":{"0":{"numberOfAssignments":0,"memoryMap":{"memory":{"total":2048,"systemReserved":512,"allocatable":1536,"reserved":512,"free":1024}},"cells":[]}},
    				"entries":{"pod":{"container1":[{"numaAffinity":[0],"type":"memory","size":512}]}},
    				"checksum": 4215593881
    			}`,
    			"",
    			&stateMemory{
    				assignments: ContainerMemoryAssignments{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
Back to top