Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,218 for _Equal (0.18 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtunnel_test.go

    			remoteAddr: expectedRemoteAddr,
    		},
    	}
    	assert.Equal(t, expectedLocalAddr, tc.LocalAddr(), "LocalAddr() returns expected TCPAddr")
    	assert.Equal(t, expectedRemoteAddr, tc.RemoteAddr(), "RemoteAddr() returns expected TCPAddr")
    	// Connection nil, returns empty address
    	tc.conn = nil
    	assert.Equal(t, noopAddr{}, tc.LocalAddr(), "nil connection, LocalAddr() returns noopAddr")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 02:21:50 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_getters_test.go

    	exp = filepath.Join(root, "pods")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodLogsDir()
    	assert.Equal(t, kubelet.podLogsDirectory, got)
    
    	got = kubelet.getPluginsDir()
    	exp = filepath.Join(root, "plugins")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPluginsRegistrationDir()
    	exp = filepath.Join(root, "plugins_registry")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPluginDir("foobar")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

       * (pointing to the next entry in the linked list). The pointers in [size(), entries.length) are
       * all "null" (UNSET).
       *
       * <p>A node with "prev" pointer equal to {@code ENDPOINT} is the first node in the linked list,
       * and a node with "next" pointer equal to {@code ENDPOINT} is the last node.
       */
      @CheckForNull @VisibleForTesting transient long[] links;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cri_stats_provider_test.go

    	assert.NoError(err)
    
    	assert.Equal(imageFsUsage.Timestamp, stats.Time.UnixNano())
    	assert.Equal(imageFsInfo.Available, *stats.AvailableBytes)
    	assert.Equal(imageFsInfo.Capacity, *stats.CapacityBytes)
    	assert.Equal(imageFsInfo.InodesFree, stats.InodesFree)
    	assert.Equal(imageFsInfo.Inodes, stats.Inodes)
    	assert.Equal(imageFsUsage.UsedBytes.Value, *stats.UsedBytes)
    	assert.Equal(imageFsUsage.InodesUsed.Value, *stats.InodesUsed)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go

    			equal: false,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			// Compare types with schema against themselves
    			if tc.lhs.Equal(tc.rhs) != types.Bool(tc.equal) {
    				t.Errorf("expected Equals to return %v", tc.equal)
    			}
    			if tc.rhs.Equal(tc.lhs) != types.Bool(tc.equal) {
    				t.Errorf("expected Equals to return %v", tc.equal)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/route/retry/retry_test.go

    				g.Expect(policy.RetryOn).To(Equal("some,fake,conditions"))
    				g.Expect(policy.PerTryTimeout).To(Equal(durationpb.New(time.Second * 3)))
    				g.Expect(policy.NumRetries.Value).To(Equal(uint32(2)))
    				g.Expect(policy.RetriableStatusCodes).To(Equal(make([]uint32, 0)))
    				g.Expect(policy.RetryPriority).To(BeNil())
    				g.Expect(policy.HostSelectionRetryMaxAttempts).To(Equal(retry.DefaultPolicy().HostSelectionRetryMaxAttempts))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

          if (valueHash == entry.valueHash && Objects.equal(value, entry.value)) {
            return entry;
          }
        }
        return null;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return seekByKey(key, smearedHash(key)) != null;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go

    	assert.NotEmpty(t, res2_addedToOne.Header.Get("ETag"), "Etag should be populated")
    	assert.Equal(t, res1_removeFromBoth.Header.Get("ETag"), res2_removeFromBoth.Header.Get("ETag"), "ETags should be equal since content is equal")
    	assert.Equal(t, res1_initial.Header.Get("ETag"), res1_removeFromBoth.Header.Get("ETag"), "ETag should be equal to initial value since added content was removed")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. pkg/kubelet/server/stats/summary_test.go

    	assert.NoError(err)
    
    	assert.Equal(summary.Node.NodeName, "test-node")
    	assert.Equal(summary.Node.StartTime, systemBootTime)
    	assert.Equal(summary.Node.CPU, cgroupStatsMap["/"].cs.CPU)
    	assert.Equal(summary.Node.Memory, cgroupStatsMap["/"].cs.Memory)
    	assert.Equal(summary.Node.Swap, cgroupStatsMap["/"].cs.Swap)
    	assert.Equal(summary.Node.Network, cgroupStatsMap["/"].ns)
    	assert.Equal(summary.Node.Fs, rootFsStats)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/reflect/deepequal.go

    	}
    }
    
    // DeepEqual reports whether x and y are “deeply equal,” defined as follows.
    // Two values of identical type are deeply equal if one of the following cases applies.
    // Values of distinct types are never deeply equal.
    //
    // Array values are deeply equal when their corresponding elements are deeply equal.
    //
    // Struct values are deeply equal if their corresponding fields,
    // both exported and unexported, are deeply equal.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top