Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 651 - 660 of 1,147 for ARRAY (0.02 seconds)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java

        public Object[] toArray() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray();
        }
    
        @Override
        public <T> T[] toArray(T[] array) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.toArray(array);
        }
    
        @Override
        public void addFirst(E e) {
          assertTrue(Thread.holdsLock(mutex));
          delegate.addFirst(e);
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jul 16 17:42:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/escape/Platform.java

    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Jesse Wilson
     */
    @GwtCompatible
    final class Platform {
      private Platform() {}
    
      /** Returns a thread-local 1024-char array. */
      static char[] charBufferFromThreadLocal() {
        // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
        return requireNonNull(DEST_TL.get());
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. internal/grid/msg_string.go

    // Code generated by "stringer -type=Op -output=msg_string.go -trimprefix=Op msg.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[OpConnect-1]
    	_ = x[OpConnectResponse-2]
    	_ = x[OpPing-3]
    	_ = x[OpPong-4]
    	_ = x[OpConnectMux-5]
    	_ = x[OpMuxConnectError-6]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SIDTest.java

            assertThrows(SmbException.class, () -> new SID("invalid-sid"));
            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
        @Test
        void testByteArrayConstructor() {
            SID sid = new SID(adminSidBytes, 0);
            assertEquals(1, sid.revision);
            assertEquals(2, sid.sub_authority_count);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                assertNotNull(response);
                assertTrue(response instanceof CreateContextResponse);
            }
    
            @Test
            @DisplayName("getName() should return expected byte array")
            void testGetNameMethod() {
                byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8);
                CreateContextResponse response = mock(CreateContextResponse.class);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

            prevArray = builder.contents;
          }
        }
      }
    
      public void testCreation_arrayOfArray() {
        String[] array = new String[] {"a"};
        Set<String[]> set = ImmutableSet.<String[]>of(array);
        assertEquals(singleton(array), set);
      }
    
      @GwtIncompatible // ImmutableSet.chooseTableSize
      public void testChooseTableSize() {
        assertEquals(8, ImmutableSet.chooseTableSize(3));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. tests/test_additional_responses_custom_validationerror.py

                        "type": "object",
                        "properties": {
                            "errors": {
                                "title": "Errors",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/Error"},
                            }
                        },
                    },
                }
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

            this.maxReceiveSize = RdmaCapabilities.DEFAULT_MAX_RECEIVE_SIZE;
            this.maxFragmentedSize = RdmaCapabilities.DEFAULT_MAX_FRAGMENTED_SIZE;
        }
    
        /**
         * Decode from byte array
         *
         * @param data source data
         * @param offset starting offset
         * @return decoded response
         */
        public static SmbDirectNegotiateResponse decode(byte[] data, int offset) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_security/test_tutorial004.py

                        "type": "object",
                        "properties": {
                            "loc": {
                                "title": "Location",
                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. tests/test_response_class_no_mediatype.py

                        "type": "object",
                        "properties": {
                            "errors": {
                                "title": "Errors",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/Error"},
                            }
                        },
                    },
                }
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top