- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,395 for convert (0.09 sec)
-
guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
sizeRemaining -= count; hashMultiset.add(value, count); linkedHashMultiset.add(value, count); treeMultiset.add(value, count); } // TODO(kevinb): convert to assert once benchmark tests enable asserts by default Preconditions.checkState(hashMultiset.size() == size); } @Benchmark int hashMultiset(int reps) { int sum = 0;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
t.Fatalf("expected function name %v; got %v", symName, funcName) } fi1, err := os.Stat("addr2line_test.go") if err != nil { t.Fatalf("Stat failed: %v", err) } // Debug paths are stored slash-separated, so convert to system-native. srcPath = filepath.FromSlash(srcPath) fi2, err := os.Stat(srcPath) if err != nil { t.Fatalf("Stat failed: %v", err) } if !os.SameFile(fi1, fi2) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
@SuppressWarnings("Java7ApiChecker") @IgnoreJRERequirement // Users will use this only if they're already using streams. public final class MoreCollectors { /* * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based * collector without breaking j2cl? */ private static final Collector<Object, ?, Optional<Object>> TO_OPTIONAL = Collector.of( ToOptionalState::new,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 5.6K bytes - Viewed (0) -
docs/en/docs/python-types.md
Because the editor knows the types of the variables, you don't only get completion, you also get error checks: <img src="/img/python-types/image04.png"> Now you know that you have to fix it, convert `age` to a string with `str(age)`: {* ../../docs_src/python_types/tutorial004.py hl[2] *} ## Declaring types You just saw the main place to declare type hints. As function parameters.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.convert; import java.math.BigDecimal; import java.text.SimpleDateFormat; import org.codelibs.core.lang.StringUtil; /** * {@link BigDecimal}用の変換ユーティリティです。 * * @author higa */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.docs.dsl.docbook; import java.util.*; /** * Normalises and cleans up HTML to convert it to XML semantics. */ public class HtmlToXmlJavadocLexer implements JavadocLexer { private final JavadocLexer lexer; private final Set<String> blockElements = new HashSet<String>();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java
import org.gradle.util.GradleVersion; import java.nio.charset.Charset; /** * Opinionated plugin that generates the release notes for a Gradle release. * * TODO: Maybe eventually convert this asciidoc too, so everything uses the same markup language. */ public class GradleReleaseNotesPlugin implements Plugin<Project> { @Override public void apply(Project project) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 26 08:15:16 UTC 2024 - 5.4K bytes - Viewed (0) -
internal/s3select/sql/record.go
case simdjson.TypeInt: v, err := iter.Int() if err != nil { return nil, err } return v, nil case simdjson.TypeUint: v, err := iter.Int() if err != nil { // Can't fit into int, convert to float. v, err := iter.Float() return v, err } return v, nil case simdjson.TypeBool: v, err := iter.Bool() if err != nil { return nil, err } return v, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* ParametricNullness parametric nullness}. Sometimes, code may receive a null {@code T} but store * a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to * return to a caller, the code needs to a way to return {@code null} from a method that returns * "plain {@code T}." This API provides that. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 10 20:36:34 UTC 2022 - 3.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java
} /** * Simply converts the given content to an xml string. * * @param content the object to convert * @return the xml string representation * @throws XmlWriterException if an error occurs during the transformation * @see #fromXmlString(String) */ public static String toXml(@Nonnull PluginDescriptor content) throws XmlWriterException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0)