Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for swapped (0.18 sec)

  1. android/guava/src/com/google/common/cache/LocalCache.java

                return true;
              }
            }
          }
          return false;
        }
    
        /**
         * Advances to the given entry. Returns true if the entry was valid, false if it should be
         * skipped.
         */
        boolean advanceTo(ReferenceEntry<K, V> entry) {
          try {
            long now = ticker.read();
            K key = entry.getKey();
            V value = getLiveValue(entry, now);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    struct SignatureDefData {
      // Note, we are using maps here to make order deterministic
      // for easily testing only.
    
      // Inputs defined in the signature def mapped to tensor names.
      std::map<std::string, std::string> inputs;
      // Outputs defined in the signature def mapped to tensor names.
      std::map<std::string, std::string> outputs;
      // Signature key.
      std::string signature_key;
      // Subgraph index.
      uint32_t subgraph_index;
    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. src/reflect/all_test.go

    			i:    0,
    			j:    2,
    			want: []pairPtr{{5, 6, &c}, {3, 4, &b}, {1, 2, &a}},
    		},
    	}
    
    	for i, tt := range tests {
    		inStr := fmt.Sprint(tt.in)
    		Swapper(tt.in)(tt.i, tt.j)
    		if !DeepEqual(tt.in, tt.want) {
    			t.Errorf("%d. swapping %v and %v of %v = %v; want %v", i, tt.i, tt.j, inStr, tt.in, tt.want)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

                return true;
              }
            }
          }
          return false;
        }
    
        /**
         * Advances to the given entry. Returns true if the entry was valid, false if it should be
         * skipped.
         */
        boolean advanceTo(ReferenceEntry<K, V> entry) {
          try {
            long now = ticker.read();
            K key = entry.getKey();
            V value = getLiveValue(entry, now);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      return std::equal(a.rbegin(), a.rend(), b.rbegin());
    }
    
    // Returns true if it is a shaped type of f32 elements.
    inline bool IsF32ShapedType(Type t) {
      if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) {
        return shaped_type.getElementType().isF32();
      }
      return false;
    }
    
    // Returns true if it is a shaped type of bf16 elements.
    inline bool IsBF16ShapedType(Type t) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

        # Bash cannot do non-integer math, shell out to awk.
        latency="$(echo "${current_time} ${start_time}" | awk '{print $1 - $2}')s"
    
        # The default latency is null which cannot be wrapped as a string so we must
        # do it here instead of the printf.
        latency="\"${latency}\""
      fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/horizontal_test.go

    // Hence the second HPA controller reconcile cycle might return different result (comparing with the first run).
    // Current test infrastructure has a race condition, when several reconcile cycles will be performed
    //    while it should be stopped right after the first one. And the second will raise an exception
    //    because of different result.
    
    // This comment has more info: https://github.com/kubernetes/kubernetes/pull/74525#issuecomment-502653106
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/pkg.go

    			// but close enough to seem redundant.
    			// Unwrap the error so we don't show the pattern.
    			err = matchErr.Err
    		}
    	}
    
    	// Replace (possibly wrapped) *build.NoGoError with *load.NoGoError.
    	// The latter is more specific about the cause.
    	var nogoErr *build.NoGoError
    	if errors.As(err, &nogoErr) {
    		if p.Dir == "" && nogoErr.Dir != "" {
    			p.Dir = nogoErr.Dir
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. src/reflect/value.go

    	h           unsafe.Pointer
    	buckets     unsafe.Pointer
    	bptr        unsafe.Pointer
    	overflow    *[]unsafe.Pointer
    	oldoverflow *[]unsafe.Pointer
    	startBucket uintptr
    	offset      uint8
    	wrapped     bool
    	B           uint8
    	i           uint8
    	bucket      uintptr
    	checkBucket uintptr
    }
    
    func (h *hiter) initialized() bool {
    	return h.t != nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. cluster/gce/util.sh

    # Quote something appropriate for a yaml string.
    #
    # TODO(zmerlynn): Note that this function doesn't so much "quote" as
    # "strip out quotes", and we really should be using a YAML library for
    # this, but PyYAML isn't shipped by default, and *rant rant rant ... SIGH*
    function yaml-quote {
      echo "${@:-}" | sed -e "s/'/''/g;s/^/'/i;s/$/'/i"
    }
    
    # Writes the cluster location into a temporary file.
    # Assumed vars
    #   ZONE
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top