Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2101 - 2110 of 2,345 for add (0.05 sec)

  1. fastapi/openapi/utils.py

            )
            file_name = getattr(route.endpoint, "__globals__", {}).get("__file__")
            if file_name:
                message += f" at {file_name}"
            warnings.warn(message, stacklevel=1)
        operation_ids.add(operation_id)
        operation["operationId"] = operation_id
        if route.deprecated:
            operation["deprecated"] = route.deprecated
        return operation
    
    
    def get_openapi_path(
        *,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. cmd/bucket-replication-stats.go

    	for _, bs := range bucketStats {
    		qs.Nodes = append(qs.Nodes, bs.QueueStats.Nodes...)
    	}
    	qs.Uptime = UTCNow().Unix() - globalBootTime.Unix()
    
    	var ps ProxyMetric
    	for _, bs := range bucketStats {
    		ps.add(bs.ProxyStats)
    	}
    	bs = BucketStats{
    		ReplicationStats: s,
    		QueueStats:       qs,
    		ProxyStats:       ps,
    	}
    	r.mostRecentStatsMu.Lock()
    	if len(r.mostRecentStats.Stats) == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tests/associations_many2many_test.go

    		languages = append(languages, language)
    	}
    
    	user := User{}
    	db.Create(&user)
    	db.Preload("Languages").FirstOrCreate(&user)
    
    	var wg sync.WaitGroup
    	for i := 0; i < count; i++ {
    		wg.Add(1)
    		go func(user User, language Language) {
    			err := db.Model(&user).Association("Languages").Append(&language)
    			AssertEqual(t, err, nil)
    
    			wg.Done()
    		}(user, languages[i])
    	}
    	wg.Wait()
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		// A is 65, a is 97
    		if v >= 'a' {
    			b.WriteRune(v)
    			continue
    		}
    		// v is capital letter here
    		// disregard first letter
    		// add underscore if last letter is capital letter
    		// add underscore when previous letter is lowercase
    		// add underscore when next letter is lowercase
    		if (i != 0 || i == l-1) && ((i > 0 && rune(camel[i-1]) >= 'a') ||
    			(i < l-1 && rune(camel[i+1]) >= 'a')) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.30.md

    - Add "reason" field to image_garbage_collected_total metric, so admins can differentiate images that were collected for reason "age" vs "space" ([#123345](https://github.com/kubernetes/kubernetes/pull/123345), [@haircommander](https://github.com/haircommander)) [SIG Node]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:40:14 UTC 2024
    - 309.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        for (int i = 0; i < ITERATIONS; i++) {
          Object key = new Object();
          long value = i % 2;
          map.put(key, value);
          if (value != 0L) {
            nonZeroKeys.add(key);
          }
        }
        assertEquals(ITERATIONS, map.size());
        assertTrue(map.asMap().containsValue(0L));
    
        map.removeAllZeros();
        assertFalse(map.asMap().containsValue(0L));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

                return 42;
              }
    
              @Override
              public String getValue() {
                return holder.string;
              }
            };
    
        // Add the mutable cell to the builder
        builder.put(mutableCell);
    
        // Mutate the value
        holder.string = "bar";
    
        // Make sure it uses the original value.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. cmd/object-handlers-common.go

    func ifModifiedSince(objTime time.Time, givenTime time.Time) bool {
    	// The Date-Modified header truncates sub-second precision, so
    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. internal/config/identity/openid/openid.go

    		if seenClientIDs.Contains(p.ClientID) {
    			return c, config.Errorf("Client ID %s is present with multiple OpenID configurations", p.ClientID)
    		}
    		seenClientIDs.Add(p.ClientID)
    
    		p.URL, err = xnet.ParseHTTPURL(configURL)
    		if err != nil {
    			return c, err
    		}
    		configURLDomain := p.URL.Hostname()
    		p.DiscoveryDoc, err = parseDiscoveryDoc(p.URL, transport, closeRespFn)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    		// if we don't have a subfolder directory listed.
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Add subfolder into fsys to match what we'll read from the tar.
    	tests = append(tests[:2:2], WriteTest{Name: "subfolder", Mode: 0o555 | os.ModeDir}, tests[2])
    
    	// read it back
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
Back to top