Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1191 - 1200 of 1,555 for depend (0.06 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                        boolean ok = output.containsKey("Progress (1): test-resource (" + i + "/999 B)");
                        if (!ok) {
                            System.out.println("false : " + i);
                            message.append(i + ",");
                        }
                        test = test & ok;
                    }
                    assertTrue(test, message + "] are missing in " + output);
                }
            } finally {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java

            addInHeader(AttributedStyle.DEFAULT, text);
        }
    
        public void addInHeader(AttributedStyle style, String text) {
            AttributedStringBuilder asb = new AttributedStringBuilder();
            asb.style(style).append(text);
            header.add(asb.toAttributedString());
        }
    
        /**
         * Increases the indentation level for nested logging.
         */
        public void indent() {
            indentLevel++;
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. cmd/admin-handlers-users-race_test.go

    		// Init and run test on ErasureSet backend.
    		{serverType: "ErasureSet", signer: signerV4},
    	}
    	testCases := []*TestSuiteIAM{}
    	for _, bt := range baseTestCases {
    		testCases = append(testCases,
    			newTestSuiteIAM(bt, false),
    			newTestSuiteIAM(bt, true),
    		)
    	}
    	for i, testCase := range testCases {
    		etcdStr := ""
    		if testCase.withEtcdBackend {
    			etcdStr = " (with etcd backend)"
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. internal/bucket/replication/filter.go

    // it returns true if there is no tags in the underlying Filter.
    func (f *Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cached := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    			if !t.IsEmpty() {
    				cached[t.Key] = t.Value
    			}
    		}
    		f.cachedTags = cached
    	}
    
    	// This filter does not have any tags, always return true
    	if len(f.cachedTags) == 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Click Count (0)
  5. cmd/sftp-server-driver.go

    		if bucket == "" {
    			buckets, err := clnt.ListBuckets(r.Context())
    			if err != nil {
    				return nil, err
    			}
    
    			for _, bucket := range buckets {
    				files = append(files, &minioFileInfo{
    					p:     bucket.Name,
    					info:  minio.ObjectInfo{Key: bucket.Name, LastModified: bucket.CreationDate},
    					isDir: true,
    				})
    			}
    
    			return listerAt(files), nil
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. internal/lru/lru.go

    	maps := make(map[K]V)
    	now := time.Now()
    	for ent := c.evictList.Back(); ent != nil; ent = ent.PrevEntry() {
    		if now.After(ent.ExpiresAt) {
    			continue
    		}
    		maps[ent.Key] = ent.Value
    		// keys = append(keys, ent.Key)
    	}
    	return maps
    }
    
    // Keys returns a slice of the keys in the cache, from oldest to newest.
    // Expired entries are filtered out.
    func (c *LRU[K, V]) Keys() []K {
    	c.mu.Lock()
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. internal/bucket/object/lock/lock.go

    	if config.Rule != nil {
    		if config.Rule.DefaultRetention.Mode != "" {
    			parts = append(parts, fmt.Sprintf("Mode: %s", config.Rule.DefaultRetention.Mode))
    		}
    		if config.Rule.DefaultRetention.Days != nil {
    			parts = append(parts, fmt.Sprintf("Days: %d", *config.Rule.DefaultRetention.Days))
    		}
    		if config.Rule.DefaultRetention.Years != nil {
    			parts = append(parts, fmt.Sprintf("Years: %d", *config.Rule.DefaultRetention.Years))
    		}
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/security/first-steps.md

    ///
    
    変数`oauth2_scheme`は`OAuth2PasswordBearer`のインスタンスですが、「呼び出し可能」です。
    
    次のように、呼ぶことができます:
    
    ```Python
    oauth2_scheme(some, parameters)
    ```
    
    そのため、`Depends`と一緒に使うことができます。
    
    ### 使い方
    
    これで`oauth2_scheme`を`Depends`で依存関係に渡すことができます。
    
    {* ../../docs_src/security/tutorial001.py hl[10] *}
    
    この依存関係は、*path operation function*のパラメーター`token`に代入される`str`を提供します。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/math/IntMathTest.java

        if (expected != actual) {
          fail("Expected for " + a + " " + op + " " + b + " = " + expected + ", but got " + actual);
        }
      }
    
      // Depends on the correctness of BigIntegerMath.factorial.
      public void testFactorial() {
        for (int n = 0; n <= 50; n++) {
          BigInteger expectedBig = BigIntegerMath.factorial(n);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  10. utils/utils.go

    	return runtime.Frame{}
    }
    
    // FileWithLineNum return the file name and line number of the current file
    func FileWithLineNum() string {
    	frame := CallerFrame()
    	if frame.PC != 0 {
    		return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    	}
    
    	return ""
    }
    
    func IsInvalidDBNameChar(c rune) bool {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top