Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 1,348 for array2 (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyMap;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singletonMap;
    import static java.util.Collections.unmodifiableMap;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

          i++
        }
        val groupLength = i - groupOffset
        if (groupLength == 0 || groupLength > 4) return null // Group is the wrong size.
    
        // We've successfully read a group. Assign its value to our byte array.
        address[b++] = (value.ushr(8) and 0xff).toByte()
        address[b++] = (value and 0xff).toByte()
      }
    
      // All done. If compression happened, we need to move bytes to the right place in the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

                SYSTEM = new SID("S-1-5-18");
            }
            catch ( SmbException se ) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
    
        /**
         * Convert a sid_t to byte array
         * 
         * @param sid
         * @return byte encoded form
         */
        public static byte[] toByteArray ( rpc.sid_t sid ) {
            byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

            String artifactId = (String) ReflectionValueExtractor.evaluate("project.dependencies[1].artifactId", project);
    
            assertEquals("dep2", artifactId);
    
            // Array
    
            dependency = (Dependency) ReflectionValueExtractor.evaluate("project.dependenciesAsArray[0]", project);
    
            assertNotNull(dependency);
    
            assertEquals("dep1", dependency.getArtifactId());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/body-nested-models.md

    {!> ../../docs_src/body_nested_models/tutorial007.py!}
    ```
    
    ////
    
    /// info
    
    请注意 `Offer` 拥有一组 `Item` 而反过来 `Item` 又是一个可选的 `Image` 列表是如何发生的。
    
    ///
    
    ## 纯列表请求体
    
    如果你期望的 JSON 请求体的最外层是一个 JSON `array`(即 Python `list`),则可以在路径操作函数的参数中声明此类型,就像声明 Pydantic 模型一样:
    
    ```Python
    images: List[Image]
    ```
    
    例如:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. finisher_api.go

    func (db *DB) CreateInBatches(value interface{}, batchSize int) (tx *DB) {
    	reflectValue := reflect.Indirect(reflect.ValueOf(value))
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    		var rowsAffected int64
    		tx = db.getInstance()
    
    		// the reflection length judgment of the optimized value
    		reflectLen := reflectValue.Len()
    
    		callFc := func(tx *DB) error {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    // This is usually orders of magnitude faster than actually sorting.
    func (m metaCacheEntries) isSorted() bool {
    	return sort.SliceIsSorted(m, m.less)
    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    func (m metaCacheEntries) shallowClone() metaCacheEntries {
    	dst := make(metaCacheEntries, len(m))
    	copy(dst, m)
    	return dst
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

    import static org.codelibs.core.stream.StreamUtil.stream;
    
    import java.io.BufferedInputStream;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/CharMatcherTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Sets;
    import com.google.common.testing.NullPointerTester;
    import java.util.Arrays;
    import java.util.BitSet;
    import java.util.HashSet;
    import java.util.Random;
    import java.util.Set;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 18:32:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

    import static com.google.common.collect.testing.Helpers.entryComparator;
    import static com.google.common.collect.testing.Helpers.equal;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.List;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top