Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 851 for Key (0.01 seconds)

  1. cmd/erasure-healing-common_test.go

    		}
    		if diskIndex != 1 && disk == nil {
    			t.Errorf("Drive erroneously filtered, driveIndex: %d", diskIndex)
    		}
    	}
    	partsMetadata[1] = partsMetadataBackup // Revert before going to the next test
    
    	// Test 4: key = disk index, value = part name with hash mismatch
    	erasureDisks = s.getDisks()
    	diskFailures := make(map[int]string)
    	diskFailures[0] = "part.1"
    	diskFailures[3] = "part.1"
    	diskFailures[15] = "part.1"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  2. docs/en/docs/alternatives.md

    This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep.
    
    Given the simplicity of Flask, it seemed like a good match for building APIs. The next thing to find was a "Django REST Framework" for Flask.
    
    /// check | Inspired **FastAPI** to
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  3. fastapi/applications.py

            error_handler = None
            exception_handlers: dict[Any, ExceptionHandler] = {}
    
            for key, value in self.exception_handlers.items():
                if key in (500, Exception):
                    error_handler = value
                else:
                    exception_handlers[key] = value
    
            middleware = (
                [Middleware(ServerErrorMiddleware, handler=error_handler, debug=debug)]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 176.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                            }
                        }
                    }
                }
            }
    
            return pluginsNeedingUpgrade;
        }
    
        /**
         * Gets the plugin key (groupId:artifactId) for a plugin, handling default groupId.
         */
        private String getPluginKey(Plugin plugin) {
            String groupId = plugin.getGroupId();
            String artifactId = plugin.getArtifactId();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  5. cmd/admin-bucket-handlers.go

    			if kmsKey != "" {
    				_, err := GlobalKMS.GenerateKey(ctx, &kms.GenerateKeyRequest{
    					Name:           kmsKey,
    					AssociatedData: kms.Context{"MinIO admin API": "ServerInfoHandler"}, // Context for a test key operation
    				})
    				if err != nil {
    					if errors.Is(err, kes.ErrKeyNotFound) {
    						rpt.SetStatus(bucket, fileName, errKMSKeyNotFound)
    						continue
    					}
    					rpt.SetStatus(bucket, fileName, err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 33.3K bytes
    - Click Count (0)
  6. src/bytes/bytes_test.go

    	}
    }
    
    func BenchmarkIndexPeriodic(b *testing.B) {
    	key := []byte{1, 1}
    	for _, skip := range [...]int{2, 4, 8, 16, 32, 64} {
    		b.Run(fmt.Sprintf("IndexPeriodic%d", skip), func(b *testing.B) {
    			buf := make([]byte, 1<<16)
    			for i := 0; i < len(buf); i += skip {
    				buf[i] = 1
    			}
    			for i := 0; i < b.N; i++ {
    				Index(buf, key)
    			}
    		})
    	}
    }
    
    func TestClone(t *testing.T) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  7. cmd/erasure-object_test.go

    	}
    	gr.Close()
    	if !bytes.Equal(output.Bytes(), smallData) {
    		t.Fatalf("Corrupted data is found")
    	}
    
    	// Test: Upload a file bigger than the small file threshold
    	// under the same bucket & key name and try to read it again.
    
    	output.Reset()
    	bigData := bytes.Repeat([]byte{'b'}, smallFileThreshold*numberOfDisks/2)
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
  8. cmd/object-api-multipart_test.go

    		// listMultipartResults - 31.
    		// checking listing with marker set to 3.
    		// `NextUploadIDMarker` is expected to be set on last uploadID in the result.
    		// `NextKeyMarker` is expected to be set on the last object key in the list.
    		{
    			MaxUploads:         3,
    			IsTruncated:        true,
    			NextUploadIDMarker: uploadIDs[6],
    			NextKeyMarker:      objectNames[2],
    			Uploads: []MultipartInfo{
    				{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 89.4K bytes
    - Click Count (0)
  9. src/archive/tar/writer_test.go

    	}
    	if hdr.Uname != chineseUsername {
    		t.Fatal("Couldn't recover unicode user")
    	}
    }
    
    func TestPaxXattrs(t *testing.T) {
    	xattrs := map[string]string{
    		"user.key": "value",
    	}
    
    	// Create an archive with an xattr
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  10. cmd/erasure-server-pool.go

    		//     spark.sparkContext.hadoopConfiguration.set("fs.s3a.path.style.access", "true")
    		//     spark.sparkContext.hadoopConfiguration.set("fs.s3a.access.key", "minioadmin")
    		//     spark.sparkContext.hadoopConfiguration.set("fs.s3a.secret.key", "minioadmin")
    		//
    		//     val df = spark.read.json("s3a://testbucket/s3.json")
    		//
    		//     df.write.parquet("s3a://testbucket/parquet/")
    		//   }
    		// }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
Back to Top