Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 751 - 760 of 906 for ARRAY (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

                assertEquals((time / 1000L) * 1000L, readTime);
            }
        }
    
        @Test
        void testBoundaryConditions() {
            byte[] buffer = new byte[16];
    
            // Test edge of array
            SMBUtil.writeInt2(0xFFFF, buffer, 14);
            assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 14));
    
            // Test different offsets
            for (int offset = 0; offset <= 8; offset++) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
            // Act & Assert - Null SID array causes NPE when accessing length
            assertThrows(NullPointerException.class, () -> {
                new MsrpcLookupSids(mockPolicyHandle, null);
            });
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            byte[] buffer = new byte[256];
    
            // Should throw NullPointerException when trying to copy null array
            assertThrows(NullPointerException.class, () -> {
                requestWithNull.writeBytesWireFormat(buffer, 0);
            });
        }
    
        @Test
        @DisplayName("readBytesWireFormat should return 0")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            // Test that the same reference is returned (implementation detail)
            byte[] secondGuid = response.getServerGuid();
            assertSame(returnedGuid, secondGuid, "getServerGuid() returns the same array reference");
        }
    
        @Test
        @DisplayName("Test multiple decode calls on same instance")
        void testMultipleDecodeCalls() throws SMBProtocolDecodingException {
            // First decode
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      /**
       * Returns an array of four bogus elements that will always be too high or too low for the
       * display. This includes two values for each extreme.
       *
       * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

          }
    
          // don't try to remove the set if it's empty; that can't be done safely without a lock
          // anyway, if the set is empty it'll just be wrapping an array of length 0
        }
      }
    
      @VisibleForTesting
      Set<Subscriber> getSubscribersForTesting(Class<?> eventType) {
        return MoreObjects.firstNonNull(subscribers.get(eventType), ImmutableSet.<Subscriber>of());
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    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[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v1.go

    // returns false if one of the following check fails
    // - erasure algorithm is different
    // - data blocks are different
    // - parity blocks are different
    // - block size is different
    // - distribution array size is different
    // - distribution indexes are different
    func (ei ErasureInfo) Equal(nei ErasureInfo) bool {
    	if ei.Algorithm != nei.Algorithm {
    		return false
    	}
    	if ei.DataBlocks != nei.DataBlocks {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 22 15:30:50 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  9. 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();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/QueryCommand.java

            return config.searchFieldSet != null && config.searchFieldSet.contains(field);
        }
    
        /**
         * Gets the query languages from the current request.
         * @return An optional containing the query languages array, or empty if not available.
         */
        protected OptionalThing<String[]> getQueryLanguages() {
            return LaRequestUtil.getOptionalRequest()
                    .map(request -> ComponentUtil.getFessConfig()
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top