Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 6,799 for _return (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashingOutputStream.java

        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
       * unspecified if this method is called more than once on the same instance.
       */
      public HashCode hash() {
        return hasher.hash();
      }
    
      // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeMultiset.java

        if (cmp < 0) {
          return aggregateBelowRange(aggr, node.left);
        } else if (cmp == 0) {
          switch (range.getLowerBoundType()) {
            case OPEN:
              return aggr.nodeAggregate(node) + aggr.treeAggregate(node.left);
            case CLOSED:
              return aggr.treeAggregate(node.left);
          }
          throw new AssertionError();
        } else {
          return aggr.treeAggregate(node.left)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        moduleIdentity.releasedVersions = provider {
            ReleasedVersionsDetails(
                moduleIdentity.version.get().baseVersion,
                releasedVersionsFile()
            )
        }
    
        return versionNumber
    }
    
    /**
     * Returns the trimmed contents of the file at the given [path] after
     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): String =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                return false;
              }
    
              @Override
              public boolean isDone() {
                return true;
              }
    
              @Override
              public boolean isCancelled() {
                return true; // BAD!!
              }
    
              @Override
              public String get() {
                return "foo"; // BAD!!
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    	if err != zt.Error {
    		t.Errorf("error=%v, want %v", err, zt.Error)
    		return
    	}
    
    	// bail if file is not zip
    	if err == ErrFormat {
    		return
    	}
    
    	// bail here if no Files expected to be tested
    	// (there may actually be files in the zip, but we don't care)
    	if zt.File == nil {
    		return
    	}
    
    	if z.Comment != zt.Comment {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
       * Returns the {@link Method} instance for {@link
       * #testSubList_originalListSetAffectsSubListLargeList()} so that tests of {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSubListOriginalListSetAffectsSubListMethod() {
        return getMethod(ListSubListTester.class, "testSubList_originalListSetAffectsSubList");
      }
    
      /**
       * Returns the {@link Method} instance for {@link
       * #testSubList_originalListSetAffectsSubListLargeList()} so that tests of {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. docs/distributed/DESIGN.md

    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            return this;
        }
    
        @Override
        public DefaultTransformerContextBuilder newTransformerContextBuilder() {
            return new DefaultTransformerContextBuilder(this);
        }
    
        @Override
        public ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException {
            return build(request, new LinkedHashSet<>());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top