Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 584 for Ok (0.01 sec)

  1. cmd/object-handlers.go

    				ChecksumType:      chkSums[xhttp.AmzChecksumType],
    			}
    		}
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ETag]; ok {
    		OA.ETag = objInfo.ETag
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectSize]; ok {
    		OA.ObjectSize, _ = objInfo.GetActualSize()
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.StorageClass]; ok {
    		OA.StorageClass = filterStorageClass(ctx, objInfo.StorageClass)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  2. cmd/format-erasure_test.go

    	// empty format to indicate disk not found, but this
    	// empty should return false.
    	formats[0] = nil
    
    	if ok := formatErasureV3ThisEmpty(formats); ok {
    		t.Fatalf("expected value false, got %t", ok)
    	}
    
    	formats[2].Erasure.This = ""
    	if ok := formatErasureV3ThisEmpty(formats); !ok {
    		t.Fatalf("expected value true, got %t", ok)
    	}
    }
    
    // Tests xl format migration.
    func TestFormatErasureMigrate(t *testing.T) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

      }
    
      // b/4558855
      public void testMadbotsBug() {
        assertEquals("../this", simplifyPath("../this"));
        assertEquals("../this/is/ok", simplifyPath("../this/is/ok"));
        assertEquals("../ok", simplifyPath("../this/../ok"));
      }
    
      // https://github.com/google/guava/issues/705
      public void test705() {
        assertEquals("../b", simplifyPath("x/../../b"));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/filter.go

    	f.set = true
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    			if err == io.EOF {
    				break
    			}
    			return err
    		}
    
    		if se, ok := t.(xml.StartElement); ok {
    			switch se.Name.Local {
    			case "Prefix":
    				var p Prefix
    				if err = d.DecodeElement(&p, &se); err != nil {
    					return err
    				}
    				f.Prefix = p
    			case "And":
    				var and And
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool-decom.go

    	for k := range specifiedPools {
    		pi, ok := rememberedPools[k]
    		if !ok {
    			// we do not have the pool anymore that we previously remembered, since all
    			// the CLI checks out we can allow updates since we are mostly adding a pool here.
    			update = true
    		}
    		if ok && pi.completed {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 42.2K bytes
    - Viewed (1)
  6. cmd/object-api-utils.go

    func (o *ObjectInfo) IsCompressed() bool {
    	_, ok := o.UserDefined[ReservedMetadataPrefix+"compression"]
    	return ok
    }
    
    // IsCompressedOK returns whether the object is compressed and can be decompressed.
    func (o *ObjectInfo) IsCompressedOK() (bool, error) {
    	scheme, ok := o.UserDefined[ReservedMetadataPrefix+"compression"]
    	if !ok {
    		return false, nil
    	}
    	switch scheme {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/EncryptInvoker.java

    import org.jline.utils.AttributedStyle;
    import org.jline.utils.Colors;
    
    /**
     * mvnenc invoker implementation.
     */
    public class EncryptInvoker extends LookupInvoker<EncryptContext> {
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
        public static final int BAD_OPERATION = 2; // bad user input or alike
        public static final int CANCELED = 3; // user canceled
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeInvoker.java

    import org.jline.utils.AttributedStyle;
    import org.jline.utils.Colors;
    
    /**
     * mvnup invoker implementation.
     */
    public class UpgradeInvoker extends LookupInvoker<UpgradeContext> {
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
        public static final int BAD_OPERATION = 2; // bad user input or alike
        public static final int CANCELED = 3; // user canceled
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    	wg.Wait()
    	return nil
    }
    
    func (s *peerRESTServer) BackgroundHealStatusHandler(_ *grid.MSS) (*grid.JSON[madmin.BgHealState], *grid.RemoteErr) {
    	state, ok := getLocalBackgroundHealStatus(context.Background(), newObjectLayerFn())
    	if !ok {
    		return nil, grid.NewRemoteErr(errServerNotInitialized)
    	}
    	return madminBgHealState.NewJSONWith(&state), nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 53.6K bytes
    - Viewed (0)
  10. internal/grid/README.md

            fmt.Println("Subroute:", GetSubroute(ctx))
            for {
                select {
                case <-ctx.Done():
                    return nil
                case req, ok := <-in:
                    if !ok {
                        break
                    }
                    // Do something with payload
                    out <- []byte("response")
    
                    // Return the request for reuse
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top