Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5321 - 5330 of 7,014 for _return (0.06 sec)

  1. guava-tests/test/com/google/common/math/IntMathTest.java

      private static int saturatedCast(BigInteger big) {
        if (big.compareTo(MAX_INT) > 0) {
          return Integer.MAX_VALUE;
        }
        if (big.compareTo(MIN_INT) < 0) {
          return Integer.MIN_VALUE;
        }
        return big.intValue();
      }
    
      private void assertOperationEquals(int a, int b, String op, int expected, int actual) {
        if (expected != actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    		out.Data[v1.ServiceAccountTokenKey] = []byte(token)
    	}
    	return out
    }
    
    type fakeOutputWriter struct {
    	b           bytes.Buffer
    	injectError error
    	failAfter   int
    }
    
    func (w *fakeOutputWriter) Write(p []byte) (n int, err error) {
    	w.failAfter--
    	if w.failAfter <= 0 && w.injectError != nil {
    		return 0, w.injectError
    	}
    	return w.b.Write(p)
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

        }
        return helper;
      }
    
      @Benchmark
      int toString(int reps) {
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          MoreObjects.ToStringHelper helper = newHelper();
          for (int j = 0; j < dataSize; ++j) {
            dataset.addEntries(helper);
          }
          dummy ^= helper.toString().hashCode();
        }
        return dummy;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Resolution.java

         * else a dependency collection request will be done.
         *
         * @return the id of the path scope
         */
        String pathScope() default "";
    
        /**
         * The request type, in case the default one is not correct.
         * Valid values are {@code collect}, {@code flatten}, or {@code resolve}.
         *
         * @return the request type
         */
        String requestType() default "";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. docs/debugging/pprofgoparser/main.go

    }
    
    func parseGoroutineType2(path string) (map[time.Duration][]string, error) {
    	f, err := os.Open(path)
    	if err != nil {
    		return nil, err
    	}
    
    	bf := bytes.Buffer{}
    
    	save := func(s string) {
    		bf.WriteString(s + "\n")
    	}
    	reset := func() {
    		bf.Reset()
    	}
    
    	ret := make(map[time.Duration][]string)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Mar 06 11:43:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        echo "============================="
        grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -i -n1 -P $(nproc --all) \
            bash -c 'clang-format-12 --style=Google {} | git diff --no-index {} -' \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

            }
        }
    
        private
        fun DocumentBuilderFactory.fetchFirstAndLatestsOfEachMinor(minimumSupported: String, mavenMetadataUrl: String): List<String> {
            return selectVersionsFrom(minimumSupported, fetchVersionsFromMavenMetadata(mavenMetadataUrl))
        }
    
        companion object {
            @VisibleForTesting
            @JvmStatic
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 23 18:27:26 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                for (final String lang : langs) {
                    chain.addConverter(new LangAnayzerConverter(lang));
                }
                converter = chain;
            }
            return converter.convert(text, field);
        }
    
        protected class LangAnayzerConverter implements ReadingConverter {
            protected final String lang;
    
            protected LangAnayzerConverter(final String lang) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial006.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: str = Query(min_length=3)):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 254 bytes
    - Viewed (0)
  10. docs_src/request_form_models/tutorial002.py

    app = FastAPI()
    
    
    class FormData(BaseModel):
        username: str
        password: str
        model_config = {"extra": "forbid"}
    
    
    @app.post("/login/")
    async def login(data: FormData = Form()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 17:31:18 UTC 2024
    - 267 bytes
    - Viewed (0)
Back to top