Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 115 for Appendp (0.19 sec)

  1. pkg/kubelet/eviction/helpers_test.go

    		}
    	}
    }
    
    func TestAddAllocatableThresholds(t *testing.T) {
    	// About func addAllocatableThresholds, only someone threshold that "Signal" is "memory.available" and "GracePeriod" is 0,
    	// append this threshold(changed "Signal" to "allocatableMemory.available") to thresholds
    	testCases := map[string]struct {
    		thresholds []evictionapi.Threshold
    		expected   []evictionapi.Threshold
    	}{
    		"non-memory-signal": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      result.Append("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
      // pad to be 16 bytes aligned
      {
        std::string pad(kFbAlignment - result.size() % kFbAlignment, '\0');
        result.Append(std::move(pad));
      }
    
      for (auto& it : custom_op_data_map_) {
        {
          std::string pad(kFbAlignment - result.size() % kFbAlignment, '\0');
          result.Append(std::move(pad));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_test.go

    		containerName := fmt.Sprintf("%vcontainer", id)
    		expectedOrder = append(expectedOrder, containerName)
    		cStatus := &kubecontainer.Status{
    			ID:   kubecontainer.BuildContainerID("test", id),
    			Name: containerName,
    		}
    		// Rearrange container statuses
    		if i%2 == 0 {
    			cStatuses = append(cStatuses, cStatus)
    		} else {
    			cStatuses = append([]*kubecontainer.Status{cStatus}, cStatuses...)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    s3 := append(s2, s0...)            // append a slice              s3 == []int{0, 0, 2, 3, 5, 7, 0, 0}
    s4 := append(s3[3:6], s3[2:]...)   // append overlapping slice    s4 == []int{3, 5, 7, 2, 3, 5, 7, 0, 0}
    
    var t []interface{}
    t = append(t, 42, 3.1415, "foo")   //                             t == []interface{}{42, 3.1415, "foo"}
    
    var b []byte
    b = append(b, "bar"...)            // append string contents      b == []byte{'b', 'a', 'r' }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

          if (!onlyOnLeft.isEmpty()) {
            result.append(": only on left=").append(onlyOnLeft);
          }
          if (!onlyOnRight.isEmpty()) {
            result.append(": only on right=").append(onlyOnRight);
          }
          if (!differences.isEmpty()) {
            result.append(": value differences=").append(differences);
          }
          return result.toString();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

          if (!onlyOnLeft.isEmpty()) {
            result.append(": only on left=").append(onlyOnLeft);
          }
          if (!onlyOnRight.isEmpty()) {
            result.append(": only on right=").append(onlyOnRight);
          }
          if (!differences.isEmpty()) {
            result.append(": value differences=").append(differences);
          }
          return result.toString();
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 165.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/networking/v1beta1/generated.pb.go

    			}
    			postIndex := iNdEx + msglen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Paths = append(m.Paths, HTTPIngressPath{})
    			if err := m.Paths[len(m.Paths)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/batch/v1/generated.pb.go

    			}
    			postIndex := iNdEx + msglen
    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			m.Items = append(m.Items, CronJob{})
    			if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 133K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/gateway_test.go

    			[]string{"10.0.0.1_443", "10.0.0.2_443"},
    		},
    	}
    
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			Configs := make([]config.Config, 0)
    			Configs = append(Configs, tt.gateways...)
    			Configs = append(Configs, tt.virtualServices...)
    			cg := NewConfigGenTest(t, TestOptions{
    				Configs: Configs,
    			})
    			cg.MemRegistry.WantGetProxyServiceTargets = tt.node.ServiceTargets
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet.go

    	klogVEnabled := klogV.Enabled()
    	for _, s := range podStatus.ContainerStatuses {
    		if s.State == kubecontainer.ContainerStateRunning {
    			runningContainers = append(runningContainers, s.ID.String())
    		}
    		if klogVEnabled {
    			containers = append(containers, container{Name: s.Name, State: string(s.State), ExitCode: s.ExitCode, FinishedAt: s.FinishedAt.UTC().Format(time.RFC3339Nano)})
    		}
    	}
    	if klogVEnabled {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top