Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 800 for prefix (0.06 sec)

  1. tests/test_empty_router.py

    @router.get("")
    def get_empty():
        return ["OK"]
    
    
    app.include_router(router, prefix="/prefix")
    
    
    client = TestClient(app)
    
    
    def test_use_empty():
        with client:
            response = client.get("/prefix")
            assert response.status_code == 200, response.text
            assert response.json() == ["OK"]
    
            response = client.get("/prefix/")
            assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 22:37:34 UTC 2023
    - 805 bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    					}
    					prefixes = append(prefixes, prefix)
    				}
    				if len(prefixes) > 0 {
    					objInfo, _ := z.GetObjectInfo(ctx, bucket, pathJoin(opts.Prefix, "_SUCCESS"), ObjectOptions{NoLock: true})
    					if objInfo.IsLatest && objInfo.DeleteMarker {
    						return loi, nil
    					}
    				}
    				li.Prefixes = prefixes
    			}
    			return li, nil
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. cmd/metacache-stream.go

    }
    
    // pastPrefix returns true if the given prefix is before start of the block.
    func (b metacacheBlock) pastPrefix(prefix string) bool {
    	if prefix == "" || strings.HasPrefix(b.First, prefix) {
    		return false
    	}
    	// We have checked if prefix matches, so we can do direct compare.
    	return b.First > prefix
    }
    
    // endedPrefix returns true if the given prefix ends within the block.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

    import org.junit.jupiter.params.provider.ArgumentsSource
    
    private val prefix = if (File("samples").exists()) "" else "../../"
    
    private fun mainFiles(): List<File> {
      val directories =
        listOf(
          "$prefix/samples/guide/src/main/java/okhttp3/guide",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes",
          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    	}{
    		// Test case - 1.
    		// Filter contains more than (Prefix,Tag,And) rule
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          creds.AccessKey,
    			secretKey:          creds.SecretKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    	"io"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a lifecycle configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter"`
    	set     bool
    
    	Prefix Prefix
    
    	ObjectSizeGreaterThan int64 `xml:"ObjectSizeGreaterThan,omitempty"`
    	ObjectSizeLessThan    int64 `xml:"ObjectSizeLessThan,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

     * signatures.
     */
    fun Buffer.isProbablyUtf8(): Boolean {
      try {
        val prefix = Buffer()
        val byteCount = size.coerceAtMost(64)
        copyTo(prefix, 0, byteCount)
        for (i in 0 until 16) {
          if (prefix.exhausted()) {
            break
          }
          val codePoint = prefix.readUtf8CodePoint()
          if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) {
            return false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. cmd/batch-replicate.go

    type BatchJobReplicateTarget struct {
    	Type     BatchJobReplicateResourceType `yaml:"type" json:"type"`
    	Bucket   string                        `yaml:"bucket" json:"bucket"`
    	Prefix   string                        `yaml:"prefix" json:"prefix"`
    	Endpoint string                        `yaml:"endpoint" json:"endpoint"`
    	Path     string                        `yaml:"path" json:"path"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    		}
    
    		// If there are lifecycle rules for the prefix.
    		_, prefix := path2BucketObjectWithBasePath(f.root, folder.name)
    		var activeLifeCycle *lifecycle.Lifecycle
    		if f.oldCache.Info.lifeCycle != nil && f.oldCache.Info.lifeCycle.HasActiveRules(prefix) {
    			if f.dataUsageScannerDebug {
    				console.Debugf(scannerLogPrefix+" Prefix %q has active rules\n", prefix)
    			}
    			activeLifeCycle = f.oldCache.Info.lifeCycle
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            }
        }
    
        private void append(MessageBuilder buffer, MojoExecution me) {
            String prefix = me.getMojoDescriptor().getPluginDescriptor().getGoalPrefix();
            if (prefix == null || prefix.isEmpty()) {
                prefix = me.getGroupId() + ":" + me.getArtifactId();
            }
            buffer.mojo(prefix + ':' + me.getVersion() + ':' + me.getGoal());
            if (me.getExecutionId() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top