Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,309 for inNode (0.15 sec)

  1. cni/pkg/nodeagent/pod_cache_test.go

    )
    
    func openNsTestOverride(s string) (NetnsCloser, error) {
    	return newFakeNs(inc()), nil
    }
    
    func openNsTestOverrideWithInodes(inodes ...uint64) func(s string) (NetnsCloser, error) {
    	i := 0
    	return func(s string) (NetnsCloser, error) {
    		inode := inodes[i]
    		i++
    		return newFakeNsInode(inc(), inode), nil
    	}
    }
    
    func TestUpsertPodCache(t *testing.T) {
    	counter.Store(0)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. pkg/volume/util/fs/fs_windows.go

    	procGetDiskFreeSpaceEx = modkernel32.NewProc("GetDiskFreeSpaceExW")
    )
    
    type UsageInfo struct {
    	Bytes  int64
    	Inodes int64
    }
    
    // Info returns (available bytes, byte capacity, byte usage, total inodes, inodes free, inode usage, error)
    // for the filesystem that path resides upon.
    func Info(path string) (int64, int64, int64, int64, int64, int64, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 21 16:25:48 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. src/math/big/ratmarsh_test.go

    		}
    	}
    }
    
    // Sending a nil Rat pointer (inside a slice) on a round trip through gob should yield a zero.
    // TODO: top-level nils.
    func TestGobEncodingNilRatInSlice(t *testing.T) {
    	buf := new(bytes.Buffer)
    	enc := gob.NewEncoder(buf)
    	dec := gob.NewDecoder(buf)
    
    	var in = make([]*Rat, 1)
    	err := enc.Encode(&in)
    	if err != nil {
    		t.Errorf("gob encode failed: %q", err)
    	}
    	var out []*Rat
    	err = dec.Decode(&out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 20:20:16 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. src/math/big/intmarsh_test.go

    			}
    		}
    	}
    }
    
    // Sending a nil Int pointer (inside a slice) on a round trip through gob should yield a zero.
    // TODO: top-level nils.
    func TestGobEncodingNilIntInSlice(t *testing.T) {
    	buf := new(bytes.Buffer)
    	enc := gob.NewEncoder(buf)
    	dec := gob.NewDecoder(buf)
    
    	var in = make([]*Int, 1)
    	err := enc.Encode(&in)
    	if err != nil {
    		t.Errorf("gob encode failed: %q", err)
    	}
    	var out []*Int
    	err = dec.Decode(&out)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 23:27:14 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. cmd/callhome.go

    	}{Version: healthInfo.Version}
    
    	enc := json.NewEncoder(gzWriter)
    	if e := enc.Encode(header); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info header: %w", e))
    		return nil
    	}
    
    	if e := enc.Encode(healthInfo); e != nil {
    		internalLogIf(ctx, fmt.Errorf("Could not encode health info: %w", e))
    		return nil
    	}
    
    	gzWriter.Flush()
    	gzWriter.Close()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 16:53:34 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. pkg/test/loadbalancersim/mesh/node.go

    	return &Node{
    		locality:        l,
    		helper:          network.NewConnectionHelper(name),
    		q:               timer.NewQueue(),
    		serviceTime:     serviceTime,
    		qLatencyEnabled: enableQueueLatency,
    	}
    }
    
    func (n *Node) Name() string {
    	return n.helper.Name()
    }
    
    func (n *Node) QueueLength() *timeseries.Instance {
    	return &n.qLength
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 03 18:19:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Node.java

         */
        @Nullable
        Dependency getDependency();
    
        /**
         * Gets the child nodes of this node.
         *
         * @return the child nodes of this node, never {@code null}
         */
        @Nonnull
        List<Node> getChildren();
    
        /**
         * @return repositories of this node
         */
        @Nonnull
        List<RemoteRepository> getRemoteRepositories();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/kotlinDsl/containers-string-invoke/tests/string-invoke.sample.conf

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30 bytes
    - Viewed (0)
  10. pkg/registry/registrytest/node.go

    func (r *NodeRegistry) CreateNode(ctx context.Context, node *api.Node) error {
    	r.Lock()
    	defer r.Unlock()
    	r.Node = node.Name
    	r.Nodes.Items = append(r.Nodes.Items, *node)
    	return r.Err
    }
    
    func (r *NodeRegistry) UpdateNode(ctx context.Context, node *api.Node) error {
    	r.Lock()
    	defer r.Unlock()
    	for i, item := range r.Nodes.Items {
    		if item.Name == node.Name {
    			r.Nodes.Items[i] = *node
    			return r.Err
    		}
    	}
    	return r.Err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 23:13:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top