Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 6,449 for _return (0.12 sec)

  1. cmd/batch-job-common-types.go

    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    	*kv = BatchJobKV(tmp)
    	kv.line, kv.col = val.Line, val.Column
    	return nil
    }
    
    // Validate returns an error if key is empty
    func (kv BatchJobKV) Validate() error {
    	if kv.Key == "" {
    		return BatchJobYamlErr{
    			line: kv.line,
    			col:  kv.col,
    			msg:  "key can't be empty",
    		}
    	}
    	return nil
    }
    
    // Empty indicates if kv is not set
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. internal/logger/target/http/http.go

    	httpTimeout time.Duration
    }
    
    // Name returns the name of the target
    func (h *Target) Name() string {
    	return "minio-http-" + h.config.Name
    }
    
    // Type - returns type of the target
    func (h *Target) Type() types.TargetType {
    	return types.TargetHTTP
    }
    
    // Endpoint returns the backend endpoint
    func (h *Target) Endpoint() string {
    	return h.config.Endpoint.String()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    func (f *fileListEntry) Type() fs.FileMode { return fs.ModeDir }
    func (f *fileListEntry) IsDir() bool       { return true }
    func (f *fileListEntry) Sys() any          { return nil }
    
    func (f *fileListEntry) ModTime() time.Time {
    	if f.file == nil {
    		return time.Time{}
    	}
    	return f.file.FileHeader.Modified.UTC()
    }
    
    func (f *fileListEntry) Info() (fs.FileInfo, error) { return f, nil }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        if (!(member instanceof Method)) {
          return false;
        }
        Method method = (Method) member;
        if (!method.getName().contentEquals("equals")) {
          return false;
        }
        Class<?>[] parameters = method.getParameterTypes();
        if (parameters.length != 1) {
          return false;
        }
        if (!parameters[0].equals(Object.class)) {
          return false;
        }
        return true;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. internal/crypto/sse.go

    }
    
    // IsRequested returns true and the SSE Type if the HTTP headers
    // indicate that some form server-side encryption is requested.
    //
    // If no SSE headers are present then IsRequested returns false
    // and no Type.
    func IsRequested(h http.Header) (Type, bool) {
    	switch {
    	case S3.IsRequested(h):
    		return S3, true
    	case S3KMS.IsRequested(h):
    		return S3KMS, true
    	case SSEC.IsRequested(h):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. internal/logger/targets.go

    	consoleTgt Target
    )
    
    // SystemTargets returns active targets.
    // Returned slice may not be modified in any way.
    func SystemTargets() []Target {
    	return systemTargets.get()
    }
    
    // AuditTargets returns active audit targets.
    // Returned slice may not be modified in any way.
    func AuditTargets() []Target {
    	return auditTargets.get()
    }
    
    // CurrentStats returns the current statistics.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. cmd/bitrot-whole.go

    	if err != nil {
    		return 0, err
    	}
    	_, err = b.Hash.Write(p)
    	if err != nil {
    		return 0, err
    	}
    	return len(p), nil
    }
    
    func (b *wholeBitrotWriter) Close() error {
    	return nil
    }
    
    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/MoreFiles.java

            if (option == NOFOLLOW_LINKS) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return Files.newInputStream(path, options);
        }
    
        private BasicFileAttributes readAttributes() throws IOException {
          return Files.readAttributes(
              path,
              BasicFileAttributes.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/MoreFiles.java

            if (option == NOFOLLOW_LINKS) {
              return false;
            }
          }
          return true;
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return Files.newInputStream(path, options);
        }
    
        private BasicFileAttributes readAttributes() throws IOException {
          return Files.readAttributes(
              path,
              BasicFileAttributes.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * to the string returned by {@link #serviceName}
       */
      protected Executor executor() {
        return command -> MoreExecutors.newThread(serviceName(), command).start();
      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
      @Override
      public final boolean isRunning() {
        return delegate.isRunning();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top