Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 814 for prefix (0.13 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

          FormBody
            .Builder()
            .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3))
            .build()
        val buffer = Buffer()
        body.writeTo(buffer)
        buffer.skip(3) // Skip "a=b" prefix.
        return buffer.readUtf8(buffer.size - 1) // Skip the "c" suffix.
      }
    
      @Test
      fun manualCharset() {
        val body =
          FormBody
            .Builder(StandardCharsets.ISO_8859_1)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java

            assertEquals("regex:", relatedContentHelper.regexPrefix);
    
            relatedContentHelper.setRegexPrefix("pattern:");
            assertEquals("pattern:", relatedContentHelper.regexPrefix);
    
            // Test with the new prefix
            List<RelatedContent> testData = new ArrayList<>();
            testData.add(createRelatedContent("pattern:test.*", "Pattern Match: __QUERY__", ""));
            mockBhv.setTestData(testData);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.6K bytes
    - Click Count (0)
  3. gradlew

    #       requires all of these POSIX shell features:
    #         * functions;
    #         * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
    #           «${var#prefix}», «${var%suffix}», and «$( cmd )»;
    #         * compound commands having a testable exit status, especially «case»;
    #         * various built-in commands including «command», «set», and «ulimit».
    #
    #   Important for patching:
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 08:59:10 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  4. tests/test_sse.py

    
    router = APIRouter()
    
    
    @router.get("/events", response_class=EventSourceResponse)
    async def stream_events():
        yield {"msg": "hello"}
        yield {"msg": "world"}
    
    
    app.include_router(router, prefix="/api")
    
    
    @pytest.fixture(name="client")
    def client_fixture():
        with TestClient(app) as c:
            yield c
    
    
    def test_async_generator_with_model(client: TestClient):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleExecutionPlanCalculator.java

    import org.apache.maven.plugin.descriptor.MojoDescriptor;
    import org.apache.maven.plugin.descriptor.Parameter;
    import org.apache.maven.plugin.descriptor.PluginDescriptor;
    import org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException;
    import org.apache.maven.plugin.version.PluginVersionResolutionException;
    import org.apache.maven.project.MavenProject;
    
    /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

        }
    
        private static UnaryOperator<String> prefix(String prefix, UnaryOperator<String> cb) {
            return s -> {
                String v = null;
                if (s.startsWith(prefix)) {
                    v = cb.apply(s.substring(prefix.length()));
                }
                return v;
            };
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. cmd/kms-handlers.go

    		return
    	}
    
    	if GlobalKMS == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrKMSNotConfigured), r.URL)
    		return
    	}
    	allKeys, _, err := GlobalKMS.ListKeys(ctx, &kms.ListRequest{
    		Prefix: r.Form.Get("pattern"),
    	})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Get the cred and owner for checking authz below.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 10.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(jarFiles);
            // Should return empty array when no servlet context available in test
            assertEquals(0, jarFiles.length);
    
            // Test with empty prefix
            jarFiles = ResourceUtil.getJarFiles("");
            assertNotNull(jarFiles);
            assertEquals(0, jarFiles.length);
        }
    
        @Test
        public void test_getPluginJarFiles_withPrefix() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  9. cmd/data-scanner_test.go

    			wg.Add(1)
    			var gotExpired []ObjectToDelete
    			go expiryWorker(&wg, workerReady, workers[0], &gotExpired)
    			<-workerReady
    
    			item := scannerItem{
    				Path:        obj,
    				bucket:      bucket,
    				prefix:      "",
    				objectName:  obj,
    				lifeCycle:   lc,
    				replication: test.replCfg,
    			}
    
    			var (
    				sizeS sizeSummary
    				gots  []ObjectInfo
    			)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. cmd/streaming-signature-v4.go

    		break
    	}
    
    	// Verify signature.
    	sig := signatureBuffer.Bytes()
    	if !bytes.HasPrefix(sig, []byte("x-amz-trailer-signature:")) {
    		if cr.debug {
    			fmt.Printf("prefix, want prefix %q, got %q", "x-amz-trailer-signature:", string(sig))
    		}
    		return errMalformedEncoding
    	}
    
    	// TODO: It seems like we may have to be prepared to rewrite and sort trailing headers:
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 18.2K bytes
    - Click Count (0)
Back to Top