Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 584 for Ok (0.01 sec)

  1. cmd/erasure-server-pool.go

    		}
    		// let's the rest shutdown
    	}
    	return nil
    }
    
    // Legacy returns 'true' if distribution algo is CRCMOD
    func (z *erasureServerPools) Legacy() (ok bool) {
    	ok = true
    	for _, set := range z.serverPools {
    		ok = ok && set.Legacy()
    	}
    	return ok
    }
    
    func (z *erasureServerPools) BackendInfo() (b madmin.BackendInfo) {
    	b.Type = madmin.Erasure
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 89.2K bytes
    - Viewed (0)
  2. docs/debugging/s3-verify/main.go

    	// Next object is used to ignore new objects in the source & target
    	nextObject := func(ch <-chan minio.ObjectInfo) (ctnt minio.ObjectInfo, ok bool) {
    		for {
    			ctnt, ok := <-ch
    			if !ok {
    				return minio.ObjectInfo{}, false
    			}
    			if ctnt.LastModified.Before(maxObjectModTime) {
    				return ctnt, ok
    			}
    		}
    	}
    
    	sclnt, err := buildS3Client(sourceEndpoint, sourceAccessKey, sourceSecretKey, insecure)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/tag.go

    	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 {
    			var s string
    			if err = d.DecodeElement(&s, &se); err != nil {
    				return err
    			}
    			switch se.Name.Local {
    			case "Key":
    				if keyAlreadyParsed {
    					return errDuplicatedXMLTag
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

     *
     */
    package okhttp3.internal.http
    
    import java.net.ProtocolException
    import okhttp3.Protocol
    import okhttp3.Response
    import okio.IOException
    
    /** An HTTP response status line like "HTTP/1.1 200 OK". */
    class StatusLine(
      @JvmField val protocol: Protocol,
      @JvmField val code: Int,
      @JvmField val message: String,
    ) {
      override fun toString(): String =
        buildString {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. cmd/dummy-data-generator_test.go

    	{
    		r1 := bytes.NewReader([]byte("abc"))
    		r2 := bytes.NewReader([]byte("abc"))
    		ok, msg := cmpReaders(r1, r2)
    		if !ok || msg != "" {
    			t.Fatalf("unexpected")
    		}
    	}
    
    	{
    		r1 := bytes.NewReader([]byte("abc"))
    		r2 := bytes.NewReader([]byte("abcd"))
    		ok, _ := cmpReaders(r1, r2)
    		if ok {
    			t.Fatalf("unexpected")
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. tests/associations_test.go

    		t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    	}
    
    	var newUser User
    	if user, ok := data.(User); ok {
    		DB.Find(&newUser, "id = ?", user.ID)
    	} else if user, ok := data.(*User); ok {
    		DB.Find(&newUser, "id = ?", user.ID)
    	}
    
    	if newUser.ID != 0 {
    		if count := DB.Model(&newUser).Association(name).Count(); count != result {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. cmd/endpoint-ellipses.go

    	if len(args) == 0 {
    		return errInvalidArgument
    	}
    
    	ok := true
    	for _, arg := range args {
    		ok = ok && !ellipses.HasEllipses(arg)
    	}
    
    	var setArgs [][]string
    
    	v, err := env.GetInt(EnvErasureSetDriveCount, 0)
    	if err != nil {
    		return err
    	}
    	setDriveCount := uint64(v)
    
    	// None of the args have ellipses use the old style.
    	if ok {
    		setArgs, err = GetAllSets(setDriveCount, args...)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

        @Override
        protected LookupContext createContext(InvokerRequest invokerRequest) {
            return new LookupContext(invokerRequest, true, invokerRequest.options().orElse(null));
        }
    
        public static final int OK = 0; // OK
        public static final int ERROR = 1; // "generic" error
    
        @Override
        protected int execute(LookupContext context) throws Exception {
            // set up JLine built-in commands
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        public static void staticOneArgCheckForNullCorrectlyThrowsOtherThanNpe(@CheckForNull String s) {
          throw new FooException(); // ok, as long as it's not NullPointerException
        }
    
        public static void staticOneArgNullableCorrectlyThrowsOtherThanNpe(@Nullable String s) {
          throw new FooException(); // ok, as long as it's not NullPointerException
        }
    
        public static void staticOneArgCheckForNullThrowsNpe(@CheckForNull String s) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. cmd/utils_test.go

    			ignored: true,
    		},
    		{
    			err:     errFaultyDisk,
    			ignored: true,
    		},
    	}
    	for i, testCase := range testCases {
    		if ok := IsErrIgnored(testCase.err, append(baseIgnoredErrs, errIgnored)...); ok != testCase.ignored {
    			t.Errorf("Test: %d, Expected %t, got %t", i+1, testCase.ignored, ok)
    		}
    	}
    }
    
    // Test queries()
    func TestQueries(t *testing.T) {
    	testCases := []struct {
    		keys      []string
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top