Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 570 for Prefix (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/bigger_applications/app_an_py310/routers/items.py

    from fastapi import APIRouter, Depends, HTTPException
    
    from ..dependencies import get_token_header
    
    router = APIRouter(
        prefix="/items",
        tags=["items"],
        dependencies=[Depends(get_token_header)],
        responses={404: {"description": "Not found"}},
    )
    
    
    fake_items_db = {"plumbus": {"name": "Plumbus"}, "gun": {"name": "Portal Gun"}}
    
    
    @router.get("/")
    async def read_items():
        return fake_items_db
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1011 bytes
    - Click Count (0)
  2. cmd/erasure-metadata.go

    }
    
    // writeUniqueFileInfo - writes unique `xl.meta` content for each disk concurrently.
    func writeUniqueFileInfo(ctx context.Context, disks []StorageAPI, origbucket, bucket, prefix string, files []FileInfo, quorum int) ([]StorageAPI, error) {
    	return writeAllMetadataWithRevert(ctx, disks, origbucket, bucket, prefix, files, quorum, false)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Generates a log name using the specified prefix, execution type, and suffix.
         *
         * @param logPrefix the prefix for the log name
         * @return the generated log name
         */
        protected String getLogName(final String logPrefix) {
            if (logSuffix.length() > 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            }
            return Paths.get(webinfBase, names);
        }
    
        /**
         * Gets JAR files from the WEB-INF/lib directory that start with the specified prefix.
         *
         * @param namePrefix the prefix that JAR file names should start with
         * @return an array of File objects representing matching JAR files, or empty array if none found
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            assertEquals("prefix-test", execJob.testGetLogName("prefix"));
    
            // Test with suffix
            execJob.logSuffix = "suffix";
            assertEquals("prefix-test-suffix", execJob.testGetLogName("prefix"));
    
            // Test with different execute type
            execJob.setExecuteType("crawler");
            assertEquals("prefix-crawler-suffix", execJob.testGetLogName("prefix"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  6. cmd/warm-backend-gcs.go

    )
    
    type warmBackendGCS struct {
    	client       *storage.Client
    	Bucket       string
    	Prefix       string
    	StorageClass string
    }
    
    func (gcs *warmBackendGCS) getDest(object string) string {
    	destObj := object
    	if gcs.Prefix != "" {
    		destObj = fmt.Sprintf("%s/%s", gcs.Prefix, object)
    	}
    	return destObj
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. cmd/erasure-server-pool-decom.go

    	for i := range decomBuckets {
    		bucket, prefix := path2BucketObject(p.Pools[idx].Decommission.QueuedBuckets[i])
    		decomBuckets[i] = decomBucketInfo{
    			Name:   bucket,
    			Prefix: prefix,
    		}
    	}
    
    	return decomBuckets
    }
    
    //msgp:ignore decomBucketInfo
    type decomBucketInfo struct {
    	Name   string
    	Prefix string
    }
    
    func (db decomBucketInfo) String() string {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  8. tests/test_dependency_yield_scope.py

            )
    
        return StreamingResponse(iter_data())
    
    
    app.include_router(
        prefix="/router-scope-function",
        router=router,
        dependencies=[Depends(raise_after_yield, scope="function")],
    )
    
    app.include_router(
        prefix="/router-scope-request",
        router=router,
        dependencies=[Depends(raise_after_yield, scope="request")],
    )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

            }
            return text;
        }
    
        /**
         * Removes the prefix from the string if it is present.
         *
         * @param text
         *            The text
         * @param prefix
         *            The prefix to remove
         * @return The resulting string
         */
        public static final String trimPrefix(final String text, final String prefix) {
            if (text == null) {
                return null;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java

            if (phase.startsWith(PhaseExecutionPoint.BEFORE.prefix())) {
                executionPoint = PhaseExecutionPoint.BEFORE;
                phaseStart = PhaseExecutionPoint.BEFORE.prefix().length();
            } else if (phase.startsWith(PhaseExecutionPoint.AFTER.prefix())) {
                executionPoint = PhaseExecutionPoint.AFTER;
                phaseStart = PhaseExecutionPoint.AFTER.prefix().length();
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
Back to Top