- Sort Score
- Num 10 results
- Language All
Results 5531 - 5540 of 7,017 for string (0.04 seconds)
-
internal/ringbuffer/README.md
fmt.Println(rb.Length()) fmt.Println(rb.Free()) // read buf := make([]byte, 4) rb.Read(buf) fmt.Println(string(buf)) } ``` It is possible to use an existing buffer with by replacing `New` with `NewBuffer`. # Blocking vs Non-blocking The default behavior of the ring buffer is non-blocking, meaning that reads and writes will return immediately with an error if the operation cannot be completed.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/executer/RerunTestExecuter.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/BuildPluginIT.java
assertEquals("this is a test license file", IOUtils.toString(license, StandardCharsets.UTF_8.name())); assertEquals("this is a test notice file", IOUtils.toString(notice, StandardCharsets.UTF_8.name())); } } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.7K bytes - Click Count (0) -
internal/disk/stat_test.go
package disk import ( "os" "reflect" "testing" ) func TestReadDriveStats(t *testing.T) { testCases := []struct { stat string expectedIOStats IOStats expectErr bool }{ { stat: "1432553 420084 66247626 2398227 7077314 8720147 157049224 7469810 0 7580552 9869354 46037 0 41695120 1315 0 0",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/InternalYamlRestTestPlugin.java
/** * Apply this plugin to run the YAML based REST tests. */ public class InternalYamlRestTestPlugin implements Plugin<Project> { public static final String SOURCE_SET_NAME = "yamlRestTest"; @Override public void apply(Project project) { project.getPluginManager().apply(RestTestBasePlugin.class);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 16:04:42 GMT 2021 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
DirectoryLeaseContext context = new DirectoryLeaseContext(key, 0, DirectoryCacheScope.IMMEDIATE_CHILDREN); byte[] name = context.getName(); assertNotNull(name); assertEquals("DLse", new String(name)); } @Test public void testSettersAndGetters() { Smb2LeaseKey key1 = new Smb2LeaseKey(); Smb2LeaseKey key2 = new Smb2LeaseKey();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/RateLimitFilter.java
return; } final HttpServletRequest httpRequest = (HttpServletRequest) request; final HttpServletResponse httpResponse = (HttpServletResponse) response; final String clientIp = rateLimitHelper.getClientIp(httpRequest); if (logger.isDebugEnabled()) { logger.debug("Rate limit check: clientIp={}, path={}", clientIp, httpRequest.getRequestURI()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/BaseParserTest.java
@Override protected Options parseCliOptions(LocalContext context) { try { return CommonsCliOptions.parse( "test", context.parserRequest.args().toArray(new String[0])); } catch (ParseException e) { throw new IllegalArgumentException(e); } } }; @Test void happy() { InvokerRequest invokerRequest =Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.2K bytes - Click Count (0) -
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/jarhell/TestingConventionsTasksIT.java
import org.gradle.testkit.runner.BuildResult; import org.gradle.testkit.runner.GradleRunner; public class TestingConventionsTasksIT extends GradleIntegrationTestCase { @Override public String projectName() { return "testingConventions"; } public void testInnerClasses() {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
for (Object o : c) { if (!self.contains(o)) { return false; } } return true; } /** An implementation of {@link Collection#toString()}. */ static String toStringImpl(Collection<?> collection) { StringBuilder sb = newStringBuilderForCollection(collection.size()).append('['); boolean first = true; for (Object o : collection) { if (!first) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0)