file_id int64 1 215k | content stringlengths 7 454k | repo stringlengths 6 113 | path stringlengths 6 251 |
|---|---|---|---|
1 | // We define the operation of splitting
// a binary number n into two numbers
// a(n), b(n) as follows. Let 0 ≤ i1 < i2 <
// . . . < ik be the indices of the bits (with
// the least significant bit having index 0) in
// n that are 1. Then the indices of the bits
// of a(n) that are 1 are i1, i3, i5, . . . and the
// in... | kdn251/interviews | uva/SplittingNumbers.java |
2 | /*
* Licensed to Elasticsearch B.V. under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not u... | elastic/elasticsearch | libs/h3/src/main/java/org/elasticsearch/h3/CoordIJK.java |
3 | package com.macro.mall.search.domain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.an... | macrozheng/mall | mall-search/src/main/java/com/macro/mall/search/domain/EsProduct.java |
4 | /*
* Copyright (C) 2009 The Guava Authors
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | google/guava | guava/src/com/google/common/base/Platform.java |
5 | // Companion Code to the paper "Generative Forests" by R. Nock and M. Guillame-Bert.
import java.io.*;
import java.util.*;
/**************************************************************************************************************************************
* Class Algorithm
*****/
class SplitDetails implements D... | google-research/google-research | generative_forests/src/Algorithm.java |
6 | package mindustry.content;
import arc.*;
import arc.graphics.*;
import arc.graphics.g2d.*;
import arc.math.*;
import arc.math.geom.*;
import arc.struct.*;
import arc.util.*;
import mindustry.entities.*;
import mindustry.entities.abilities.*;
import mindustry.gen.*;
import mindustry.graphics.*;
import mindustry.type.*;... | Anuken/Mindustry | core/src/mindustry/content/Fx.java |
7 | /*
* Copyright (C) 2013 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | square/retrofit | retrofit/src/main/java/retrofit2/Platform.java |
8 | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | iluwatar/java-design-patterns | marker/src/main/java/App.java |
9 | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | tensorflow/tensorflow | tensorflow/java/src/main/java/org/tensorflow/Session.java |
10 | "/*\n * Licensed to Elasticsearch B.V. under one or more contributor\n * license agreements. See the(...TRUNCATED) | elastic/elasticsearch | libs/h3/src/main/java/org/elasticsearch/h3/HexRing.java |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 10