Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 6,358 for RETURN (0.11 sec)

  1. cmd/bucket-quota.go

    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    	return
    }
    
    func (sys *BucketQuotaSys) enforceQuotaHard(ctx context.Context, bucket string, size int64) error {
    	if size < 0 {
    		return nil
    	}
    
    	q, err := sys.Get(ctx, bucket)
    	if err != nil {
    		return err
    	}
    
    	var quotaSize uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. internal/s3select/sql/stringfuncs.go

    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    			return "", false
    		}
    		res = parts[1]
    	}
    	return res, true
    }
    
    func dropRune(text string) (res string, ok bool) {
    	r := []rune(text)
    	if len(r) == 0 {
    		return "", false
    	}
    	return string(r[1:]), true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ResponseBodyJvmTest.kt

          object : ResponseBody() {
            override fun contentType(): MediaType? {
              return null
            }
    
            override fun contentLength(): Long {
              return 5
            }
    
            override fun source(): BufferedSource {
              val source = Buffer().writeUtf8("hello")
              return object : ForwardingSource(source) {
                @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/archive/zip/writer.go

    func (w *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    		if name == "." {
    			return nil
    		}
    		info, err := d.Info()
    		if err != nil {
    			return err
    		}
    		if !d.IsDir() && !info.Mode().IsRegular() {
    			return errors.New("zip: cannot add non-regular file")
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

        Session getSession();
    
        /**
         * Gets the installation settings source.
         *
         * @return the installation settings source or {@code null} if none
         */
        @Nonnull
        Optional<Source> getInstallationSettingsSource();
    
        /**
         * Gets the project settings source.
         *
         * @return the project settings source or {@code null} if none
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/CIFSContextWrapper.java

            }
            return this.wrappedHandler;
        }
    
    
        @Override
        public SidResolver getSIDResolver () {
            return this.delegate.getSIDResolver();
        }
    
    
        @Override
        public boolean hasDefaultCredentials () {
            return this.delegate.hasDefaultCredentials();
        }
    
    
        @Override
        public CIFSContext withCredentials ( Credentials creds ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          return asList().iterator();
        }
    
        @Override
        int copyIntoArray(@Nullable Object[] dst, int offset) {
          return asList().copyIntoArray(dst, offset);
        }
    
        @Override
        public ImmutableList<K> asList() {
          return list;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          return map.get(object) != null;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/message/MessageFormatter.java

         * @return メッセージコードなしの単純なメッセージ
         */
        public static String getSimpleMessage(final String messageCode, final Object... args) {
            try {
                final String pattern = getPattern(messageCode);
                if (pattern != null) {
                    return MessageFormat.format(pattern, args);
                }
                return getNoPatternMessage(args);
            } catch (final Throwable ignore) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/av/AvPairs.java

            pos += 4;
            return enc;
        }
    
    
        private static AvPair parseAvPair ( int avId, byte[] raw ) {
            switch ( avId ) {
            case AvPair.MsvAvFlags:
                return new AvFlags(raw);
            case AvPair.MsvAvTimestamp:
                return new AvTimestamp(raw);
            case AvPair.MsvAvTargetName:
                return new AvTargetName(raw);
            case AvPair.MsvAvSingleHost:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    		if globalTierConfigMgr.Empty() {
    			return
    		}
    
    		dui, err := loadDataUsageFromBackend(ctx, objLayer)
    		if err != nil {
    			metricsLogIf(ctx, err)
    			return
    		}
    		// data usage has not captured any tier stats yet.
    		if dui.TierStats == nil {
    			return
    		}
    
    		return dui.tierMetrics()
    	})
    	return mg
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top