Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 142 for chardata (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_test.cc

      EXPECT_TRUE(statistics.has_value());
      EXPECT_EQ(statistics.value().min_max_statistics().global_min(), -5.0f);
      EXPECT_EQ(statistics.value().min_max_statistics().global_max(), 10.0f);
    
      collector.ClearData();
      statistics = collector.GetStatistics();
      EXPECT_FALSE(statistics.has_value());
    
      collector.Collect(
          /*min=*/1.0f, /*max=*/10.f, /*histogram=*/{});
      collector.Collect(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 16 04:33:52 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/InetAddresses.java

            }
          }
        }
        if (ipString.charAt(0) == IPV6_DELIMITER && ipString.charAt(1) != IPV6_DELIMITER) {
          return null; // ^: requires ^::
        }
        if (ipString.charAt(ipString.length() - 1) == IPV6_DELIMITER
            && ipString.charAt(ipString.length() - 2) != IPV6_DELIMITER) {
          return null; // :$ requires ::$
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 24 16:44:05 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/BadWordService.java

            }
            String item = list.get(index).trim();
            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
                item = item.substring(1, item.length() - 1);
            }
            return item;
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. prow/lib.sh

        CA_DATA=$(kubectl get secret "${SECRET_NAME}" -n istio-system-multi -o "jsonpath={.data['ca\\.crt']}")
        TOKEN=$(kubectl get secret "${SECRET_NAME}" -n istio-system-multi -o "jsonpath={.data['token']}" | base64 --decode)
    
        cat <<EOF > "${filename}"
          apiVersion: v1
          clusters:
             - cluster:
                 certificate-authority-data: ${CA_DATA}
                 server: ${SERVER}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/cmd/gotraceeventstats/main.go

    func encodedSize(e *raw.Event) int {
    	size := 1
    	var buf [binary.MaxVarintLen64]byte
    	for _, arg := range e.Args {
    		size += binary.PutUvarint(buf[:], arg)
    	}
    	spec := e.Version.Specs()[e.Ev]
    	if spec.HasData {
    		size += binary.PutUvarint(buf[:], uint64(len(e.Data)))
    		size += len(e.Data)
    	}
    	return size
    }
    
    type countingReader struct {
    	io.Reader
    	bytesRead int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:29 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

            }
    
            private void concatPath(StringBuilder url, String path) {
                if (!path.isEmpty()) {
                    boolean initialUrlEndsWithSlash = url.charAt(url.length() - 1) == '/';
                    boolean pathStartsWithSlash = path.charAt(0) == '/';
    
                    if (pathStartsWithSlash) {
                        if (initialUrlEndsWithSlash) {
                            // 1 extra '/' to remove
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileHierarchySet.java

                }
                for (int i = prefixLength - 1, j = endOfThisSegment - 1; i >= 0; i--, j--) {
                    if (prefix.charAt(i) != filePath.charAt(j)) {
                        return false;
                    }
                }
                return endOfThisSegment == pathLength || filePath.charAt(endOfThisSegment) == File.separatorChar;
            }
    
            boolean contains(String filePath, int offset) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.cc

        freq_sum += histogram[idx] * proportion;
      }
      return freq_sum;
    }
    
    }  // namespace
    
    void CalibrationStatisticsCollectorHistogram::ClearData() {
      hist_freq_.clear();
    }
    
    void CalibrationStatisticsCollectorHistogram::Collect(
        const float min, const float max, absl::Span<const int64_t> histogram) {
      if (histogram.empty()) return;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/internal/trace/raw/reader.go

    			frame, err := r.readArgs(4)
    			if err != nil {
    				return Event{}, err
    			}
    			args = append(args, frame...)
    		}
    	}
    	var data []byte
    	if spec.HasData {
    		data, err = r.readData()
    		if err != nil {
    			return Event{}, err
    		}
    	}
    	return Event{
    		Version: r.v,
    		Ev:      ev,
    		Args:    args,
    		Data:    data,
    	}, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
        Table<String, Integer, String> table = HashBasedTable.create();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 16:54:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top