Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 7,250 for return (0.04 sec)

  1. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

                .named("Multiset.filter[Multiset, Predicate]")
                .createTestSuite());
    
        return suite;
      }
    
      private static TestStringMultisetGenerator unmodifiableMultisetGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
            return unmodifiableMultiset(LinkedHashMultiset.create(asList(elements)));
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    		if err := w.mw.WriteByte(metacacheStreamVersion); err != nil {
    			return err
    		}
    
    		w.closer = func() error {
    			if w.streamErr != nil {
    				return w.streamErr
    			}
    			if err := w.mw.WriteBool(false); err != nil {
    				return err
    			}
    			if err := w.mw.Flush(); err != nil {
    				return err
    			}
    			return s2w.Close()
    		}
    		return nil
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
      public int count(@CheckForNull Object element) {
        return contents.get(element);
      }
    
      @Override
      public int size() {
        return size;
      }
    
      @Override
      public ImmutableSet<E> elementSet() {
        ImmutableSet<E> result = elementSet;
        return (result == null) ? elementSet = new ElementSet() : result;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. cmd/batch-expire_gen.go

    	err = en.Append(0xa5, 0x52, 0x65, 0x74, 0x72, 0x79)
    	if err != nil {
    		return
    	}
    	err = z.Retry.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "Retry")
    		return
    	}
    	// write "Rules"
    	err = en.Append(0xa5, 0x52, 0x75, 0x6c, 0x65, 0x73)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.Rules)))
    	if err != nil {
    		err = msgp.WrapError(err, "Rules")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. cmd/healthcheck-handler.go

    		return nil
    	}
    
    	return objLayer
    }
    
    // ClusterCheckHandler returns if the server is ready for requests.
    func ClusterCheckHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := checkHealth(w)
    	if objLayer == nil {
    		return
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, globalAPIConfig.getClusterDeadline())
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. tests/update_test.go

    			if err := tx.Session(&gorm.Session{FullSaveAssociations: true}).Save(owner).Error; err != nil {
    				return err
    			}
    			if err := tx.Preload("Token").First(&newOwner, owner.ID).Error; err != nil {
    				return err
    			}
    			return nil
    		}); err != nil {
    			return nil, err
    		}
    		return &newOwner, nil
    	}
    
    	owner := TokenOwner{
    		Name:  "user",
    		Token: Token{Content: "token"},
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java

        protected String getQueryClassName() {
            return PrefixQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PrefixQuery prefixQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertPrefixQuery(context, prefixQuery, boost);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      if (this is QueueDispatcher) return this.delegate
    
      val delegate = this
      return object : mockwebserver3.Dispatcher() {
        override fun dispatch(request: mockwebserver3.RecordedRequest): mockwebserver3.MockResponse {
          return delegate.dispatch(request.unwrap()).wrap()
        }
    
        override fun peek(): mockwebserver3.MockResponse {
          return delegate.peek().wrap()
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    			return pi, IncompleteBody{Bucket: bucket, Object: object}
    		}
    
    		return pi, toObjectErr(err, minioMetaMultipartBucket, partPath)
    	}
    
    	// Return success.
    	return PartInfo{
    		PartNumber:     partInfo.Number,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    warnings << "Return nullability changed from nullable to non-nullable"
                }
            }
    
            if (!errors.isEmpty()) {
                def changes = errors + warnings
                return acceptOrReject(member, changes, Violation.error(member, changes.join(" ")))
            }
            if (!warnings.isEmpty()) {
                return Violation.warning(member, warnings.join(" "))
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top