Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 6,449 for _return (0.2 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

          shutdown();
          return ImmutableList.of();
        }
    
        @Override
        public boolean isShutdown() {
          return shutdown;
        }
    
        @Override
        public boolean isTerminated() {
          return shutdown;
        }
    
        @Override
        public boolean awaitTermination(long timeout, TimeUnit unit) {
          return true;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    	if len(o.UserDefined) == 0 {
    		return nil
    	}
    	z, ok := o.UserDefined[archiveInfoMetadataKey]
    	if !ok {
    		return nil
    	}
    	data := []byte(z)
    	if v, ok := o.UserDefined[archiveTypeMetadataKey]; ok && v == archiveTypeEnc {
    		decrypted, err := o.metadataDecrypter(h)(archiveTypeEnc, data)
    		if err != nil {
    			encLogIf(GlobalContext, err)
    			return nil
    		}
    		data = decrypted
    	}
    	return data
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/MediaType.kt

    ) {
      /**
       * Returns the charset of this media type, or [defaultValue] if either this media type doesn't
       * specify a charset, or if its charset is unsupported by the current runtime.
       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. internal/logger/target/console/console.go

    func (c *Target) Validate() error {
    	return nil
    }
    
    // Endpoint returns the backend endpoint
    func (c *Target) Endpoint() string {
    	return ""
    }
    
    func (c *Target) String() string {
    	return "console"
    }
    
    // Send log message 'e' to console
    func (c *Target) Send(e interface{}) error {
    	entry, ok := e.(log.Entry)
    	if !ok {
    		return fmt.Errorf("Uexpected log entry structure %#v", e)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MoreCollectors.java

       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
       *     {@code null}) and returns {@code Optional.empty()} if it has none.
       */
      @SuppressWarnings("unchecked")
      public static <T> Collector<T, ?, Optional<T>> toOptional() {
        return (Collector) TO_OPTIONAL;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/DoubleUtils.java

        long bits = doubleToRawLongBits(d);
        bits &= SIGNIFICAND_MASK;
        return (exponent == MIN_EXPONENT - 1) ? bits << 1 : bits | IMPLICIT_BIT;
      }
    
      static boolean isFinite(double d) {
        return getExponent(d) <= MAX_EXPONENT;
      }
    
      static boolean isNormal(double d) {
        return getExponent(d) >= MIN_EXPONENT;
      }
    
      /*
       * Returns x scaled by a power of 2 such that it is in the range [1, 2). Assumes x is positive,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    					if err != nil {
    						return err
    					}
    				}
    			}
    		}
    	}
    	if found == 0 {
    		return errFileNotFound
    	}
    	return nil
    }
    
    // Return the disks belonging to the poolIdx, and setIdx.
    func (z *erasureServerPools) GetDisks(poolIdx, setIdx int) ([]StorageAPI, error) {
    	if poolIdx < len(z.serverPools) && setIdx < len(z.serverPools[poolIdx].sets) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K 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. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

        protected static final String UNI_ENCODING = "UTF-16LE";
    
        private int flags;
    
        /**
         * Returns the flags currently in use for this message.
         *
         * @return An <code>int</code> containing the flags in use for this
         * message.
         */
        public int getFlags() {
            return flags;
        }
    
        /**
         * Sets the flags for this message.
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom_gen.go

    		return
    	}
    	err = en.WriteBool(z.Complete)
    	if err != nil {
    		err = msgp.WrapError(err, "Complete")
    		return
    	}
    	// write "fl"
    	err = en.Append(0xa2, 0x66, 0x6c)
    	if err != nil {
    		return
    	}
    	err = en.WriteBool(z.Failed)
    	if err != nil {
    		err = msgp.WrapError(err, "Failed")
    		return
    	}
    	// write "cnl"
    	err = en.Append(0xa3, 0x63, 0x6e, 0x6c)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
Back to top