Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 6,449 for _return (0.15 sec)

  1. guava/src/com/google/common/io/CharStreams.java

        public Writer append(@CheckForNull CharSequence csq) {
          return this;
        }
    
        @Override
        public Writer append(@CheckForNull CharSequence csq, int start, int end) {
          checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length());
          return this;
        }
    
        @Override
        public Writer append(char c) {
          return this;
        }
    
        @Override
        public void flush() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          return perms;
        }
    
        @Override
        public PermissionCollection getPermissions(ProtectionDomain pd) {
          return perms;
        }
    
        @Override
        public boolean implies(ProtectionDomain pd, Permission p) {
          return perms.implies(p);
        }
    
        @Override
        public void refresh() {}
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/AbstractCache.java

        public CacheStats snapshot() {
          return new CacheStats(
              negativeToMaxValue(hitCount.sum()),
              negativeToMaxValue(missCount.sum()),
              negativeToMaxValue(loadSuccessCount.sum()),
              negativeToMaxValue(loadExceptionCount.sum()),
              negativeToMaxValue(totalLoadTime.sum()),
              negativeToMaxValue(evictionCount.sum()));
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

          final Entry<Class<? extends @NonNull B>, B> entry) {
        return new ForwardingMapEntry<Class<? extends @NonNull B>, B>() {
          @Override
          protected Entry<Class<? extends @NonNull B>, B> delegate() {
            return entry;
          }
    
          @Override
          @ParametricNullness
          public B setValue(@ParametricNullness B value) {
            cast(getKey(), value);
            return super.setValue(value);
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. internal/config/lambda/event/arn.go

    	if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 6 {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	if tokens[4] == "" || tokens[5] == "" {
    		return nil, &ErrInvalidARN{s}
    	}
    
    	return &ARN{
    		region: tokens[3],
    		TargetID: TargetID{
    			ID:   tokens[4],
    			Name: tokens[5],
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableBiMap.java

      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        return new SingletonImmutableBiMap<>(k1, v1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics_gen.go

    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z RStat) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Count"
    	err = en.Append(0x82, 0xa5, 0x43, 0x6f, 0x75, 0x6e, 0x74)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteSink.java

      protected ByteSink() {}
    
      /**
       * Returns a {@link CharSink} view of this {@code ByteSink} that writes characters to this sink as
       * bytes encoded with the given {@link Charset charset}.
       */
      public CharSink asCharSink(Charset charset) {
        return new AsCharSink(charset);
      }
    
      /**
       * Opens a new {@link OutputStream} for writing to this sink. This method returns a new,
       * independent stream each time it is called.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. cmd/notification.go

    		idx := idx
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			st, err := client.BackgroundHealStatus(ctx)
    			if err != nil {
    				return err
    			}
    			states[idx] = st
    			return nil
    		}, idx, *client.host)
    	}
    
    	return states, ng.Wait()
    }
    
    // StartProfiling - start profiling on remote peers, by initiating a remote RPC.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  10. internal/event/target/webhook.go

    		if xnet.IsNetworkOrHostDown(err, false) {
    			return store.ErrNotConnected
    		}
    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key)
    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *WebhookTarget) Close() error {
    	target.cancel()
    	return nil
    }
    
    func (target *WebhookTarget) init() error {
    	return target.initOnce.Do(target.initWebhook)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top