Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 7,250 for return (0.06 sec)

  1. internal/config/notify/parse.go

    				return nil, err
    			}
    			targets = append(targets, t)
    		}
    	case config.NotifyESSubSys:
    		esTargets, err := GetNotifyES(cfg[config.NotifyESSubSys], transport)
    		if err != nil {
    			return nil, err
    		}
    		for id, args := range esTargets {
    			if !args.Enable {
    				continue
    			}
    			t, err := target.NewElasticsearchTarget(id, args, logOnceIf)
    			if err != nil {
    				return nil, err
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Range.java

      Cut<C> lowerBound() {
        return lowerBound;
      }
    
      Cut<C> upperBound() {
        return upperBound;
      }
    
      Object readResolve() {
        if (this.equals(ALL)) {
          return all();
        } else {
          return this;
        }
      }
    
      @SuppressWarnings("unchecked") // this method may throw CCE
      static int compareOrThrow(Comparable left, Comparable right) {
        return left.compareTo(right);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. internal/s3select/sql/aggregation.go

    		return e.Operand.aggregateRow(r, tableAlias)
    	}
    	return e.Not.aggregateRow(r, tableAlias)
    }
    
    func (e *ConditionOperand) aggregateRow(r Record, tableAlias string) error {
    	err := e.Operand.aggregateRow(r, tableAlias)
    	if err != nil {
    		return err
    	}
    
    	if e.ConditionRHS == nil {
    		return nil
    	}
    
    	switch {
    	case e.ConditionRHS.Compare != nil:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

            return false;
          }
        }
    
        private DummyProxy identity() {
          return DummyProxy.this;
        }
    
        @Override
        public String toString() {
          return "Dummy proxy for " + interfaceType;
        }
    
        // Since type variables aren't serializable, reduce the type down to raw type before
        // serialization.
        private Object writeReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. cmd/os_other.go

    				// filtering requested to return by caller.
    				return nil
    			}
    		}
    	}
    	return nil
    }
    
    // Return entries at the directory dirPath.
    func readDirWithOpts(dirPath string, opts readDirOpts) (entries []string, err error) {
    	d, err := Open(dirPath)
    	if err != nil {
    		return nil, osErrToFileErr(err)
    	}
    	defer d.Close()
    
    	maxEntries := 1000
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 13 15:14:36 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. 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)
  7. cmd/site-replication.go

    				return nil
    			}
    		}
    		configData, err := base64.StdEncoding.DecodeString(*versioning)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		_, err = globalBucketMetadataSys.Update(ctx, bucket, bucketVersioningConfig, configData)
    		if err != nil {
    			return wrapSRErr(err)
    		}
    		return nil
    	}
    
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  8. cmd/bucket-replication-stats.go

    	if r == nil {
    		return ActiveWorkerStat{}
    	}
    	r.wlock.RLock()
    	defer r.wlock.RUnlock()
    	w := r.workers.get()
    	return ActiveWorkerStat{
    		Curr: w.Curr,
    		Max:  w.Max,
    		Avg:  w.Avg,
    	}
    }
    
    func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-r.wTimer.C:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. internal/disk/stat_linux.go

    		iostats.DiscardTicks = stats[14]
    	}
    	return
    }
    
    func readStat(fileName string) (stats []uint64, err error) {
    	file, err := os.Open(fileName)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    
    	s, err := bufio.NewReader(file).ReadString('\n')
    	if err != nil && !errors.Is(err, io.EOF) {
    		return nil, err
    	}
    	statLine := strings.TrimSpace(s)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

                  return Collections.unmodifiableList(Arrays.asList(files));
                }
              }
    
              return ImmutableList.of();
            }
          };
    
      /**
       * Returns a predicate that returns the result of {@link File#isDirectory} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isDirectory() {
        return FilePredicate.IS_DIRECTORY;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
Back to top