Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,274 for arrayOf (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            buffer.put((byte) 0x00); // Padding
            buffer.putShort((short) 8); // AclSize
            buffer.putShort((short) 0); // AceCount
            buffer.putShort((short) 0); // Padding
    
            return buffer.array();
        }
    
        /**
         * Helper method to set error code using reflection
         */
        private void setErrorCode(NtTransQuerySecurityDescResponse response, int errorCode) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-nested-models.md

    Note como `Offer` tem uma lista de `Item`s, que por sua vez possui opcionalmente uma lista `Image`s
    
    ///
    
    ## Corpos de listas puras
    
    Se o valor de primeiro nível do corpo JSON que você espera for um `array` do JSON (uma` lista` do Python), você pode declarar o tipo no parâmetro da função, da mesma forma que nos modelos do Pydantic:
    
    
    ```Python
    images: List[Image]
    ```
    
    como em:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            // Should not throw exception with invalid package
            protocolHelper.loadProtocols("org.invalid.package.does.not.exist");
    
            // Should have empty arrays initially
            assertEquals(0, protocolHelper.getWebProtocols().length);
            assertEquals(0, protocolHelper.getFileProtocols().length);
        }
    
        public void test_loadProtocols_emptyPackage() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST;
    import static com.google.common.collect.testing.SampleElements.Strings.BEFORE_FIRST_2;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Collections.sort;
    import static junit.framework.Assert.assertEquals;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/StringsTest.java

        assertEquals("null [5, 6]", Strings.lenientFormat(null, 5, 6));
        assertEquals("null", Strings.lenientFormat("%s", (Object) null));
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testLenientFormat_nullArrayVarargs() {
        assertEquals("(Object[])null", Strings.lenientFormat("%s", (Object[]) null));
      }
    
      @GwtIncompatible // GWT reflection includes less data
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertEquals(0, response.getNumEntries());
            response.setNumEntries(10);
            assertEquals(10, response.getNumEntries());
        }
    
        @Test
        @DisplayName("Test results array management")
        void testResultsArrayManagement() {
            FileEntry[] entries = { mockFileEntry1, mockFileEntry2 };
            response.setResults(entries);
    
            FileEntry[] retrievedEntries = response.getResults();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertTrue((type1.getFlags() & NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED) != 0);
        }
    
        @Test
        @DisplayName("Should parse Type 1 message from byte array")
        void testType1MessageFromBytes() throws IOException {
            // Given - Create a Type 1 message and convert to bytes
            Type1Message original = new Type1Message(mockContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                 *
                 * This is where we recursively invoke the provided andx smb
                 * object to write it's parameter words and bytes to our outgoing
                 * array. Incedentally when these andx smbs are created they are not
                 * necessarily populated with header data because they're not writing
                 * the header, only their body. But for whatever reason one might wish
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top