- Sort Score
- Num 10 results
- Language All
Results 1421 - 1430 of 1,594 for would (0.04 seconds)
-
cmd/object-api-putobject_test.go
err := obj.MakeBucket(context.Background(), bucket, MakeBucketOptions{}) if err != nil { // Failed to create newbucket, abort. t.Fatalf("%s : %s", instanceType, err.Error()) } data := []byte("hello, world") // Create object. _, err = obj.PutObject(context.Background(), bucket, object, mustGetPutObjReader(t, bytes.NewReader(data), int64(len(data)), "", ""), ObjectOptions{}) if err != nil { // Failed to create object, abort.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 25.8K bytes - Click Count (0) -
README.md
}); ``` ### Text Processing and JSON ```java import org.codelibs.core.text.*; // JSON utilities with proper escaping String escaped = JsonUtil.escape("Hello \"World\" with special chars"); String unescaped = JsonUtil.unescape(escaped); // Text tokenization Tokenizer tokenizer = new Tokenizer("field1,field2,field3", ","); while (tokenizer.hasMoreTokens()) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// writeInt2(100000) will truncate to 100000 & 0xFFFF = 34464 SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer, // let's test the actual validation logic instead byte[] buffer2 = createBasicNegotiateResponseBuffer(); // Set maximum 16-bit value
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/info/GlobalBuildInfoPlugin.java
return getAvailableJavaInstallationLocationSteam().filter(installationLocation -> isSameFile(javaHome, installationLocation)) .findFirst() .orElseThrow(() -> new GradleException("Could not locate available Java installation in Gradle registry at: " + javaHome)); } private boolean isSameFile(File javaHome, InstallationLocation installationLocation) { try {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Aug 17 10:02:58 GMT 2021 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
} // We can't use Character.isSurrogate(c) because of GWT. public void testEncodedLength_validStrings() { assertEquals(0, Utf8.encodedLength("")); assertEquals(11, Utf8.encodedLength("Hello world")); assertEquals(8, Utf8.encodedLength("Résumé")); assertEquals( 461, Utf8.encodedLength( "威廉·莎士比亞(William Shakespeare," + "1564年4月26號—1616年4月23號[1])係隻英國嗰演員、劇作家同詩人,"
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 12.9K bytes - Click Count (0) -
docs/en/docs/features.md
 You will get completion in code you might even consider impossible before. As for example, the `price` key inside a JSON body (that could have been nested) that comes from a request. No more typing the wrong key names, coming back and forth between docs, or scrolling up and down to find if you finally used `username` or `user_name`. ### Short { #short }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.9K bytes - Click Count (0) -
cmd/metacache-walk.go
} if s.walkMu != nil { s.walkMu.Lock() } entries, err := s.ListDir(ctx, "", opts.Bucket, current, -1) if s.walkMu != nil { s.walkMu.Unlock() } if err != nil { // Folder could have gone away in-between if err != errVolumeNotFound && err != errFileNotFound { internalLogOnceIf(ctx, err, "metacache-walk-scan-dir") }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon May 26 07:06:43 GMT 2025 - 12.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
try { Artifact artifact = new Artifact("fess-theme", "1.0.0"); themeHelper.getThemeName(artifact); fail("Should throw exception"); } catch (Exception e) { // Could be ThemeException or StringIndexOutOfBoundsException assertTrue(true); } } @Test public void test_getThemeName_invalidPrefix() { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
* OutputStream out = closer.register(openOutputStream()); * // do stuff * } catch (Throwable e) { * // ensure that any checked exception types other than IOException that could be thrown are * // provided here, e.g. throw closer.rethrow(e, CheckedException.class); * throw closer.rethrow(e); * } finally { * closer.close(); * } * } *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 10.3K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
return 10 + getId().hashCode(); } public MojoDescriptor getMojo(String goal) { if (getMojos() == null) { return null; // no mojo in this POM } // TODO could we use a map? Maybe if the parent did that for components too, as this is too vulnerable to // changes above not being propagated to the map for (MojoDescriptor desc : getMojos()) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 16.2K bytes - Click Count (0)