Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4561 - 4570 of 6,187 for New (0.01 seconds)

  1. src/main/java/jcifs/pac/PacSidAttributes.java

     * This class encapsulates a SID and its attribute flags as used in Kerberos PAC data.
     */
    public class PacSidAttributes {
    
        private final SID id;
        private final int attributes;
    
        /**
         * Constructs a new PacSidAttributes instance.
         *
         * @param id the Security Identifier
         * @param attributes the attribute flags associated with the SID
         */
        public PacSidAttributes(final SID id, final int attributes) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

        void constructorTest() {
            short level = 1;
    
            // Create an instance of the class under test
            MsrpcQueryInformationPolicy policy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);
    
            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

     *
     * @author Regina O'Dell
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalSetTest extends TestCase {
      public static Test suite() {
        return SetTestSuiteBuilder.using(
                new TestStringSetGenerator() {
                  @Override
                  protected Set<String> create(String[] elements) {
                    return MinimalSet.of(elements);
                  }
                })
            .named("MinimalSet")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 25 16:19:30 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/SetsFilterSortedSetTest.java

      @Override
      SortedSet<Integer> createUnfiltered(Iterable<Integer> contents) {
        TreeSet<Integer> result = Sets.newTreeSet(contents);
        // we have to make the result not Navigable
        return new ForwardingSortedSet<Integer>() {
          @Override
          protected SortedSet<Integer> delegate() {
            return result;
          }
        };
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/pac/PacGroupTest.java

        private SID mockSid;
        private PacGroup pacGroup;
        private final int attributes = 42;
    
        @BeforeEach
        void setUp() {
            // Mock the SID object
            mockSid = mock(SID.class);
            pacGroup = new PacGroup(mockSid, attributes);
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#PacGroup(jcifs.smb.SID, int)}.
         */
        @Test
        void testConstructor() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/AlphaNumWordFilterFactory.java

        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            final AlphaNumWordFilter alphaNumWordFilter = new AlphaNumWordFilter(tokenStream);
            alphaNumWordFilter.setMaxTokenLength(maxTokenLength);
            return alphaNumWordFilter;
        }
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 15 06:51:20 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. tests/association_generics_test.go

    	for _, pet := range updatedUser.Pets {
    		petNames[pet.Name] = true
    	}
    
    	if !petNames["original-pet"] {
    		t.Error("original pet not found")
    	}
    
    	if !petNames["new-pet"] {
    		t.Error("new pet not found")
    	}
    }
    
    // Test Set + Create with multiple associations using real database
    func TestClauseAssociationSetCreateWithMultipleAssociations(t *testing.T) {
    	ctx := context.Background()
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 05:42:26 GMT 2025
    - 37.9K bytes
    - Click Count (0)
  8. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/BuildToolsConventionsPlugin.java

            });
            // we put all our distributable files under distributions
            project.getTasks().withType(Jar.class).configureEach(j ->
                    j.getDestinationDirectory().set(new File(project.getBuildDir(), "distributions"))
            );
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 23 09:44:49 GMT 2021
    - 1.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/core/collection/SingleValueIteratorTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class SingleValueIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final SingleValueIterator<String> it = new SingleValueIterator<String>("Foo");
            assertThat(it.hasNext(), is(true));
            assertThat(it.next(), is("Foo"));
            assertThat(it.hasNext(), is(not(true)));
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/CIFSContextTest.java

                mockContext.withAnonymousCredentials();
                mockContext.withGuestCrendentials();
                mockContext.withCredentials(mock(Credentials.class));
                mockContext.renewCredentials("hint", new Exception());
            });
        }
    
        @Test
        @DisplayName("Should get SmbResource")
        void testGet() throws CIFSException {
            // Given
            String url = "smb://server/share/file";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top