Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,392 for case1 (0.09 sec)

  1. cmd/tier.go

    		}
    		if creds.AzSP.ClientSecret != "" {
    			cfg.Azure.SPAuth.ClientSecret = creds.AzSP.ClientSecret
    		}
    	case madmin.GCS:
    		if creds.CredsJSON == nil {
    			return errTierMissingCredentials
    		}
    		cfg.GCS.Creds = base64.URLEncoding.EncodeToString(creds.CredsJSON)
    	case madmin.MinIO:
    		if creds.AccessKey == "" || creds.SecretKey == "" {
    			return errTierMissingCredentials
    		}
    		cfg.MinIO.AccessKey = creds.AccessKey
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for simple App.
     */
    public class AppTest
        extends TestCase
    {
        /**
         * Create the test case
         *
         * @param testName name of the test case
         */
        public AppTest( String testName )
        {
            super( testName );
        }
    
        /**
         * @return the suite of tests being tested
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 651 bytes
    - Viewed (0)
  3. internal/pubsub/pubsub.go

    		enc := json.NewEncoder(&buf)
    		for {
    			select {
    			case <-doneCh:
    				return
    			case v, ok := <-subChT:
    				if !ok {
    					return
    				}
    				buf.Reset()
    				err := enc.Encode(v)
    				if err != nil {
    					return
    				}
    
    				select {
    				case subCh <- append(GetByteBuffer()[:0], buf.Bytes()...):
    					continue
    				case <-doneCh:
    					return
    				}
    			}
    		}
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. schema/schema.go

    	case callbackTypeAfterCreate:
    		return modelType.MethodByName(string(callbackTypeAfterCreate))
    	case callbackTypeBeforeUpdate:
    		return modelType.MethodByName(string(callbackTypeBeforeUpdate))
    	case callbackTypeAfterUpdate:
    		return modelType.MethodByName(string(callbackTypeAfterUpdate))
    	case callbackTypeBeforeSave:
    		return modelType.MethodByName(string(callbackTypeBeforeSave))
    	case callbackTypeAfterSave:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	err = unwrapAll(err)
    	switch err {
    	case errDiskStale:
    		w.WriteHeader(http.StatusPreconditionFailed)
    	case errFileNotFound, errFileVersionNotFound:
    		w.WriteHeader(http.StatusNotFound)
    	case errInvalidAccessKeyID, errAccessKeyDisabled, errNoAuthToken, errMalformedAuth, errAuthentication, errSkewedAuthTime:
    		w.WriteHeader(http.StatusUnauthorized)
    	case context.Canceled, context.DeadlineExceeded:
    		w.WriteHeader(499)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

            for (final char element : content) {
                switch (element) {
                case '<':
                    buf.append("&lt;");
                    break;
                case '>':
                    buf.append("&gt;");
                    break;
                case '&':
                    buf.append("&amp;");
                    break;
                case '"':
                    buf.append("&quot;");
                    break;
                default:
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. internal/s3select/sql/stringfuncs_test.go

    		{`a%__%\`, `a\%\_\_%`, '\\', true, nil},
    		{`a%__%\`, `a?%?_?_?%\`, '?', true, nil},
    	}
    
    	for i, tc := range evalCases {
    		// fmt.Println("Case:", i)
    		res, err := evalSQLLike(tc.iText, tc.iPat, tc.iEsc)
    		if res != tc.matchExpected || err != tc.errExpected {
    			t.Errorf("Eval Case %d failed: %v %v", i, res, err)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  8. cmd/consolelogger.go

    	if cnt > 0 {
    		for i := 0; i < last; i++ {
    			entry := lastN[(cnt+i)%last]
    			if (entry == log.Info{}) {
    				continue
    			}
    			select {
    			case subCh <- entry:
    			case <-doneCh:
    				return nil
    			}
    		}
    	}
    	return sys.pubsub.Subscribe(madmin.LogMaskAll, subCh, doneCh, filter)
    }
    
    // Init if HTTPConsoleLoggerSys is valid, always returns nil right now
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenTarg.java

                    case 0:
                        ASN1Enumerated enumerated = ASN1Enumerated.getInstance(tagged, true);
                        setResult(enumerated.getValue().intValue());
                        break;
                    case 1:
                        setMechanism(ASN1ObjectIdentifier.getInstance(tagged, true));
                        break;
                    case 2:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                switch ( tagged.getTagNo() ) {
                case 0:// Kerberos version
                    ASN1Integer tktvno = ASN1Util.as(ASN1Integer.class, tagged);
                    if ( !tktvno.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_VERSION)) ) {
                        throw new PACDecodingException("Invalid kerberos version " + tktvno);
                    }
                    break;
                case 1:// Realm
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top