Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 761 - 770 of 1,610 for _arrays (0.05 seconds)

  1. guava/src/com/google/common/collect/Multisets.java

      public static <E> ImmutableMultiset<E> copyHighestCountFirst(Multiset<E> multiset) {
        @SuppressWarnings("unchecked") // generics+arrays
        // TODO(cpovirk): Consider storing an Entry<?> instead of Entry<E>.
        Entry<E>[] entries = (Entry<E>[]) multiset.entrySet().toArray((Entry<E>[]) new Entry<?>[0]);
        Arrays.sort(entries, DecreasingCount.INSTANCE);
        return ImmutableMultiset.copyFromEntries(asList(entries));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  2. tests/test_request_params/test_file/test_list.py

        body_model_name = get_body_model_name(openapi, path)
    
        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "type": "array",
                    "items": {
                        "type": "string",
                        "contentMediaType": "application/octet-stream",
                    },
                    "title": "P",
                },
            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  3. tests/test_request_params/test_header/test_list.py

        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": True,
                    "schema": {
                        "title": "P",
                        "type": "array",
                        "items": {"type": "string"},
                    },
                    "name": "p",
                    "in": "header",
                }
            ]
        )
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                this.buf[this.index - i] = value;
                i--;
            }
            return n;
        }
    
        /**
         * Writes an octet array to the buffer.
         *
         * @param b the byte array to write
         * @param i the starting index in the array
         * @param l the number of bytes to write
         */
        public void writeOctetArray(final byte[] b, final int i, final int l) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SSPContext.java

        /**
         * Gets the negotiated context flags.
         * @return context flags
         */
        int getFlags();
    
        /**
         * Gets the array of supported security mechanism OIDs.
         * @return array of supported mechanism OIDs
         */
        ASN1ObjectIdentifier[] getSupportedMechs();
    
        /**
         * Checks whether this mechanism supports message integrity.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/NtStatusTest.java

        }
    
        @Test
        @DisplayName("Should have status messages array")
        void testStatusMessagesArray() {
            // When
            String[] messages = NtStatus.NT_STATUS_MESSAGES;
    
            // Then
            assertNotNull(messages);
            assertTrue(messages.length > 0);
            // Should have same length as codes array
            assertEquals(NtStatus.NT_STATUS_CODES.length, messages.length);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java

        @SuppressWarnings("unchecked")
        Entry<AnEnum, String>[] array = (Entry<AnEnum, String>[]) new Entry<?, ?>[entries.length];
        int i = 0;
        for (Object o : entries) {
          @SuppressWarnings("unchecked")
          Entry<AnEnum, String> e = (Entry<AnEnum, String>) o;
          array[i++] = e;
        }
        return create(array);
      }
    
      protected abstract Map<AnEnum, String> create(Entry<AnEnum, String>[] entries);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

        }
    
        /**
         * Sets the command array for user update operations.
         * @param updateCommand The update command array.
         */
        public void setUpdateCommand(final String[] updateCommand) {
            this.updateCommand = updateCommand;
        }
    
        /**
         * Sets the command array for user deletion operations.
         * @param deleteCommand The delete command array.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        ImmutableList<Integer>[] array =
            (ImmutableList<Integer>[]) new ImmutableList<?>[] {ImmutableList.of(1)};
        TypeToken<ImmutableList<Integer>[]> type = new TypeToken<ImmutableList<Integer>[]>() {};
        map.putInstance(type, array);
        assertEquals(1, map.size());
        assertThat(map.getInstance(type)).asList().containsExactly(array[0]);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      private static void assertIntact(MinMaxPriorityQueue<?> q) {
        if (!q.isIntact()) {
          fail("State " + Arrays.toString(q.toArray()));
        }
      }
    
      private static void assertIntactUsingSeed(long seed, MinMaxPriorityQueue<?> q) {
        if (!q.isIntact()) {
          fail("Using seed " + seed + ". State " + Arrays.toString(q.toArray()));
        }
      }
    
      private static void assertIntactUsingStartedWith(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
Back to Top