Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 846 for socket (0.05 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

    import okhttp3.mockwebserver.MockWebServer;
    
    /**
     * Create UNIX domain sockets for MockWebServer and OkHttp and connect 'em together. Note that we
     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 24 03:46:30 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	})
    	if err != nil {
    		c.Fatalf("unable to attach policy: %v", err)
    	}
    	// 2.3 check user has access to bucket
    	c.mustListObjects(ctx, uClient, bucket)
    	// 2.3 check that user cannot delete the bucket
    	err = uClient.RemoveBucket(ctx, bucket)
    	if err == nil || err.Error() != "Access Denied." {
    		c.Fatalf("bucket was deleted unexpectedly or got unexpected err: %v", err)
    	}
    
    	// 3. Craft a request to update the user's permissions
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  3. docs/distributed/iam-import-with-missing-entities.sh

    pkill minio
    docker rm -f $(docker ps -aq)
    rm -rf /tmp/ldap{1..4}
    
    # Deploy the LDAP config witg missing groups/DN
    echo "Copying docs/distributed/samples/bootstrap-partial.ldif => minio-iam-testing/ldap/50-bootstrap.ldif"
    cp docs/distributed/samples/bootstrap-partial.ldif minio-iam-testing/ldap/50-bootstrap.ldif || exit 1
    cd ./minio-iam-testing
    make docker-images
    make docker-run
    cd -
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 11 15:01:29 UTC 2024
    - 4.5K bytes
    - Viewed (1)
  4. cmd/object_api_suite_test.go

    		t.Fatalf("%s: Expected IsTruncated to be `false`, but instead found it to be `%v`", instanceType, result.IsTruncated)
    	}
    	if err.Error() != "Bucket not found: bucket" {
    		t.Errorf("%s: Expected the error msg to be `%s`, but instead found `%s`", instanceType, "Bucket not found: bucket", err.Error())
    	}
    }
    
    // Wrapper for calling testNonExistentObjectInBucket for both Erasure and FS.
    func TestNonExistentObjectInBucket(t *testing.T) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  5. cmd/object-api-getobjectinfo_test.go

    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Test cases with valid but non-existing bucket names (Test number 5-6).
    		{"abcdefgh", "abc", ObjectInfo{}, BucketNotFound{Bucket: "abcdefgh"}, false},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  6. cmd/ftp-server-driver.go

    	defer cancel()
    
    	bucket, prefix := path2BucketObject(objPath)
    	if bucket == "" {
    		buckets, err := clnt.ListBuckets(cctx)
    		if err != nil {
    			return err
    		}
    
    		for _, bucket := range buckets {
    			info := minioFileInfo{
    				p:     pathClean(bucket.Name),
    				info:  minio.ObjectInfo{Key: retainSlash(bucket.Name), LastModified: bucket.CreationDate},
    				isDir: true,
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/transport/RequestTest.java

            verify(mockRequest, times(1)).isCancel();
        }
    
        @Test
        void testIsCancelFalse() {
            // Test case for isCancel method when it returns false
            when(mockRequest.isCancel()).thenReturn(false);
    
            assertFalse(mockRequest.isCancel(), "isCancel should return false when mocked to do so.");
            verify(mockRequest, times(1)).isCancel();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. docs/iam/policies/pbac-tests.sh

    mc admin policy attach myminio consoleAdmin --user minio123
    
    mc mb -l myminio/test-bucket
    mc mb -l myminio/multi-key-poc
    
    export MC_HOST_myminio1="http://minio123:minio123@localhost:9000/"
    
    mc cp /etc/issue myminio1/test-bucket
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: test-bucket should succeed. Failed"
    	exit 1
    fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. docs/metrics/v3.md

    ### Per-bucket Metrics
    
    Metrics with a `/bucket` component in the path return results for each specified bucket in the deployment. These endpoints **require** providing a list of buckets as a `bucket` query parameter.  The endpoint then returns only metrics for the given buckets, with the bucket name in a `bucket` label.
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  10. cmd/utils_test.go

    			bucket: "",
    			object: "",
    		},
    		// Test case 3 only bucket is present.
    		{
    			path:   "/bucket",
    			bucket: "bucket",
    			object: "",
    		},
    		// Test case 4 many separators and object is a directory.
    		{
    			path:   "/bucket/object/1/",
    			bucket: "bucket",
    			object: "object/1/",
    		},
    		// Test case 5 object has many trailing separators.
    		{
    			path:   "/bucket/object/1///",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top