Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 6,449 for _return (0.06 sec)

  1. internal/mountinfo/mountinfo_windows.go

    	path = filepath.Dir(path)
    	if v, ok := mountPointCache.Load(path); ok {
    		return v.(bool)
    	}
    	wpath, _ := windows.UTF16PtrFromString(path)
    	wvolume := make([]uint16, len(path)+1)
    
    	if err := windows.GetVolumePathName(wpath, &wvolume[0], uint32(len(wvolume))); err != nil {
    		mountPointCache.Store(path, false)
    		return false
    	}
    
    	switch windows.GetDriveType(&wvolume[0]) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. internal/event/target/kafka.go

    	quitCh     chan struct{}
    }
    
    // ID - returns target ID.
    func (target *KafkaTarget) ID() event.TargetID {
    	return target.id
    }
    
    // Name - returns the Name of the target.
    func (target *KafkaTarget) Name() string {
    	return target.ID().String()
    }
    
    // Store returns any underlying store if set.
    func (target *KafkaTarget) Store() event.TargetStore {
    	return target.store
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Collections2.java

            E e = (E) element;
            return predicate.apply(e);
          }
          return false;
        }
    
        @Override
        public boolean containsAll(Collection<?> collection) {
          return containsAllImpl(this, collection);
        }
    
        @Override
        public boolean isEmpty() {
          return !Iterables.any(unfiltered, predicate);
        }
    
        @Override
        public Iterator<E> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/os_unix.go

    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    			return err
    		}
    	}
    
    	// Parent now exists; invoke Mkdir and use its result.
    	if err := Mkdir(dirPath, perm); err != nil {
    		if osIsExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	return nil
    }
    
    // The buffer must be at least a block long.
    // refer https://github.com/golang/go/issues/24015
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Interners.java

          return this;
        }
    
        public <E> Interner<E> build() {
          if (!strong) {
            mapMaker.weakKeys();
          }
          return new InternerImpl<>(mapMaker);
        }
      }
    
      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Parameter.java

      }
    
      /** Returns the type of the parameter. */
      public TypeToken<?> getType() {
        return type;
      }
    
      /** Returns the {@link Invokable} that declares this parameter. */
      public Invokable<?, ?> getDeclaringInvokable() {
        return declaration;
      }
    
      @Override
      public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
        return getAnnotation(annotationType) != null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

         *
         * @return The system properties, never {@code null}.
         */
        public Properties getSystemProperties() {
            return request.getSystemProperties();
        }
    
        public Settings getSettings() {
            return settings;
        }
    
        public List<MavenProject> getProjects() {
            return projects;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/BigDecimalMath.java

          return bigDecimal.doubleValue();
        }
    
        @Override
        int sign(BigDecimal bigDecimal) {
          return bigDecimal.signum();
        }
    
        @Override
        BigDecimal toX(double d, RoundingMode mode) {
          return new BigDecimal(d);
        }
    
        @Override
        BigDecimal minus(BigDecimal a, BigDecimal b) {
          return a.subtract(b);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. internal/disk/stat_netbsd.go

    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. internal/disk/stat_freebsd.go

    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top