Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,105 for arrays (0.69 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            void testToString() throws Exception {
                // Set up notification with known values
                byte oplockLevel = 0x02;
                byte[] fileId = new byte[16];
                Arrays.fill(fileId, 0, 8, (byte) 0xAB);
                Arrays.fill(fileId, 8, 16, (byte) 0xCD);
    
                // Use reflection to set private fields
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            byte[] buffer2 = new byte[28];
            Arrays.fill(buffer2, 0, 24, (byte) 0x22);
    
            int bytesConsumed2 = response.decode(buffer2, 0, 28);
            assertEquals(28, bytesConsumed2);
    
            byte[] resumeKey2 = response.getResumeKey();
            assertNotNull(resumeKey2);
            assertEquals((byte) 0x22, resumeKey2[0]);
    
            // Verify it's a different array
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java

                    scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED);
                } else if (Artifact.SCOPE_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(Artifact.SCOPE_COMPILE, Artifact.SCOPE_RUNTIME);
                } else if (Artifact.SCOPE_COMPILE_PLUS_RUNTIME.equals(classpath)) {
                    scopes = Arrays.asList(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 14:55:55 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashMap.java

          }
        }
      }
    
      /**
       * Resizes the internal entries array to the specified capacity, which may be greater or less than
       * the current capacity.
       */
      void resizeEntries(int newCapacity) {
        this.entries = Arrays.copyOf(requireEntries(), newCapacity);
        this.keys = Arrays.copyOf(requireKeys(), newCapacity);
        this.values = Arrays.copyOf(requireValues(), newCapacity);
      }
    
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SidResolverTest.java

        @Test
        void testGetLocalGroupsMap_Success() throws CIFSException {
            Map<SID, List<SID>> expectedMap = new HashMap<>();
            List<SID> group1Members = Arrays.asList(mockSid1, mockSid2);
            List<SID> group2Members = Arrays.asList(mockSid3);
            expectedMap.put(mockDomainSid, group1Members);
            expectedMap.put(mockSid1, group2Members);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullabilityChangesTest.kt

                """,
                v2 = """
                    import java.util.Arrays;
                    import java.util.List;
                    import $nullableAnnotationName;
                    public class Source {
                        public List<@Nullable String> nonFinalField = Arrays.asList("some", null);
                        public final List<@Nullable String> finalField = Arrays.asList("some", null);
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu May 15 17:05:08 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

            assertNotNull(second);
            // Due to round-robin, should get different channels or same order
            assertTrue(Arrays.asList(channel1, channel2).contains(first));
            assertTrue(Arrays.asList(channel1, channel2).contains(second));
        }
    
        @Test
        void testLeastLoadedStrategy() {
            loadBalancer.setStrategy(LoadBalancingStrategy.LEAST_LOADED);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/TaskSegment.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.List;
    
    /**
     * Describes the required task segment as provided on the maven command line; i.e. "clean jetty:run install"
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/AbstractLifecycleProvider.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.lifecycle.providers;
    
    import javax.inject.Provider;
    
    import java.util.Arrays;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    
    import org.apache.maven.lifecycle.Lifecycle;
    import org.apache.maven.lifecycle.mapping.LifecyclePhase;
    
    /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top