Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1331 - 1340 of 7,081 for returns (0.06 sec)

  1. cmd/metacache-set.go

    				return entries, io.EOF
    			}
    			partN++
    			retries = 0
    		}
    	}
    }
    
    // getListQuorum interprets list quorum values and returns appropriate
    // acceptable quorum expected for list operations
    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    	case "auto":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. cni/pkg/repair/repaircontroller.go

    		// Pod deleted, nothing to do
    		return nil
    	}
    	return c.ReconcilePod(pod)
    }
    
    func (c *Controller) ReconcilePod(pod *corev1.Pod) (err error) {
    	if !c.matchesFilter(pod) {
    		return // Skip, pod doesn't need repair
    	}
    	repairLog.Debugf("Reconciling pod %s", pod.Name)
    
    	if c.cfg.RepairPods {
    		return c.repairPod(pod)
    	} else if c.cfg.DeletePods {
    		return c.deleteBrokenPod(pod)
    	} else if c.cfg.LabelPods {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     */
    open class OkHttpClient internal constructor(
      builder: Builder,
    ) : Call.Factory, WebSocket.Factory {
      @get:JvmName("dispatcher")
      val dispatcher: Dispatcher = builder.dispatcher
    
      /**
       * Returns an immutable list of interceptors that observe the full span of each call: from before
       * the connection is established (if any) until after the response source is selected (either the
       * origin server, cache, or both).
       */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    				}
    			}
    			return nil
    		})
    	}
    
    	if errs != nil {
    		return nil, errs
    	}
    	if un.GetKind() == gvk.Service.Kind {
    		return nil, v.validateServicePortPrefix(istioNamespace, un)
    	}
    
    	if un.GetKind() == gvk.Deployment.Kind {
    		if err := v.validateDeploymentLabel(istioNamespace, un, writer); err != nil {
    			return nil, err
    		}
    		return nil, nil
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    	switch bitrotCycle {
    	case -1:
    		return madmin.HealNormalScan
    	case 0:
    		return madmin.HealDeepScan
    	}
    
    	if currentCycle-bitrotStartCycle < healObjectSelectProb {
    		return madmin.HealDeepScan
    	}
    
    	if time.Since(bitrotStartTime) > bitrotCycle {
    		return madmin.HealDeepScan
    	}
    
    	return madmin.HealNormalScan
    }
    
    type backgroundHealInfo struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    And it can return anything you want.
    
    In this case, this dependency expects:
    
    * An optional query parameter `q` that is a `str`.
    * An optional query parameter `skip` that is an `int`, and by default is `0`.
    * An optional query parameter `limit` that is an `int`, and by default is `100`.
    
    And then it just returns a `dict` containing those values.
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:18:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

              // So just refuse to generate.
              return null;
            }
            args.add(argValue);
          }
          return invokeGeneratorMethod(generate, args.toArray());
        }
        return defaultGenerate(rawType);
      }
    
      private <T> @Nullable T defaultGenerate(Class<T> rawType) {
        if (rawType.isInterface()) {
          // always create a new proxy
          return newProxy(rawType);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            }
        }
    
    
        /**
         * @return the andx
         */
        public final ServerMessageBlock getAndx () {
            return this.andx;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb1.ServerMessageBlock#getNext()
         */
        @Override
        public ServerMessageBlock getNext () {
            return this.andx;
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            return url.replaceAll("([^:])/+", "$1/");
        }
    
        protected boolean isValidPath(final String path) {
            if (StringUtil.isBlank(path)) {
                return false;
            }
    
            final Matcher matcher = invalidUrlPattern.matcher(path);
            if (matcher.find()) {
                return false;
            }
    
            return true;
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. CHANGELOG.md

     *  New: `mockwebserver3.MockResponseBody` for streamed response bodies.
    
     *  New: `mockwebserver3.MockResponse` is now immutable, with a `Builder`.
    
     *  New: `mockwebserver3.RecordedRequest.handshakeServerNames` returns the SNI (Server Name
        Indication) attribute from the TLS handshake.
    
     *  Upgrade: [Kotlin 1.9.21][kotlin_1_9_21].
    
     *  Upgrade: [Okio 3.7.0][okio_3_7_0].
    
    
    ## Version 5.0.0-alpha.11
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top