Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for outlined (0.49 sec)

  1. internal/dsync/dsync_test.go

    	go func() {
    		time.Sleep(5 * testDrwMutexAcquireTimeout)
    		// fmt.Println("Unlocking dm1")
    
    		dm1st.Unlock(context.Background())
    	}()
    
    	dm2nd.Lock(id, source)
    
    	// fmt.Printf("2nd lock obtained after 1st lock is released\n")
    	time.Sleep(testDrwMutexRefreshCallTimeout * 2)
    
    	dm2nd.Unlock(context.Background())
    }
    
    // Test three locks for same resource, one succeeds, one fails (after timeout)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			4,
    		},
    		{
    			// 3. Tests common time obtained when elements have a mixture of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  3. cmd/xl-storage-format_test.go

    		xlMeta.AddTestObjectPart(i+1, 67108864)
    	}
    	return xlMeta
    }
    
    // Compare the unmarshaled XLMetaV1 with the one obtained from jsoniter parsing.
    func compareXLMetaV1(t *testing.T, unMarshalXLMeta, jsoniterXLMeta xlMetaV1Object) {
    	// Start comparing the fields of xlMetaV1Object obtained from jsoniter parsing with one parsed using json unmarshalling.
    	if unMarshalXLMeta.Version != jsoniterXLMeta.Version {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    //
    // In contrast to [Writer.CreateHeader], the bytes passed to Writer are not compressed.
    //
    // CreateRaw's argument is stored in w. If the argument is a pointer to the embedded
    // [FileHeader] in a [File] obtained from a [Reader] created from in-memory data,
    // then w will refer to all of that memory.
    func (w *Writer) CreateRaw(fh *FileHeader) (io.Writer, error) {
    	if err := w.prepare(fh); err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate_test.go

    			wantError:      true,
    		},
    		{
    			name: "warning",
    			args: []string{"--filename", warningFilename},
    			expectedRegexp: regexp.MustCompile(`(?m)".*" has warnings: 
    	\* DestinationRule//reviews-cb-policy: outlier detection consecutive errors is deprecated, use consecutiveGatewayErrors or consecutive5xxErrors instead
    
    Error: 1 error occurred:
    	\* VirtualService//invalid-virtual-service: weight -15 < 0`),
    			wantError: true,
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 25 08:08:36 GMT 2023
    - 21.5K bytes
    - Viewed (0)
  6. cmd/generic-handlers.go

    			}
    			return
    		}
    		h.ServeHTTP(w, r)
    	})
    }
    
    // setBucketForwardingMiddleware middleware forwards the path style requests
    // on a bucket to the right bucket location, bucket to IP configuration
    // is obtained from centralized etcd configuration service.
    func setBucketForwardingMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    	return endpointConfigCmd
    }
    
    // edsConfigCmd is a command to dump EDS output. This differs from "endpoints" which pulls from /clusters.
    // Notably, this shows metadata and locality, while clusters shows outlier health status
    func edsConfigCmd(ctx cli.Context) *cobra.Command {
    	var podName, podNamespace string
    
    	endpointConfigCmd := &cobra.Command{
    		Use: "eds [<type>/]<name>[.<namespace>]",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe_test.go

       Matching subsets: 
          (Non-matching subsets v1)
       Traffic Policy TLS Mode: ISTIO_MUTUAL
       Policies: load balancer/connection pool/outlier detection
       Port Level Settings:
        8080:
          TLS Mode: DISABLE
          Policies: load balancer/connection pool/outlier detection
    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
       Route to host "productpage2" with weight 20%
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    For example:
    
    	// #cgo CFLAGS: -DPNG_DEBUG=1
    	// #cgo amd64 386 CFLAGS: -DX86=1
    	// #cgo LDFLAGS: -lpng
    	// #include <png.h>
    	import "C"
    
    Alternatively, CPPFLAGS and LDFLAGS may be obtained via the pkg-config tool
    using a '#cgo pkg-config:' directive followed by the package names.
    For example:
    
    	// #cgo pkg-config: png cairo
    	// #include <png.h>
    	import "C"
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    		actualContent, err = io.ReadAll(rec.Body)
    		if err != nil {
    			t.Fatalf("Test %d : MinIO %s: Failed parsing response body: <ERROR> %v", i, instanceType, err)
    		}
    
    		// Verify whether the bucket obtained object is same as the one created.
    		if testCase.expectedContent != nil && !bytes.Equal(testCase.expectedContent, actualContent) {
    			t.Log(string(testCase.expectedContent), string(actualContent))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
Back to top