Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1701 - 1710 of 6,020 for new1 (0.03 seconds)

  1. cmd/warm-backend-s3.go

    		return nil, errors.New("AWS Role cannot be activated with static credentials or the web identity token file")
    	case conf.Bucket == "":
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	// Credentials initialization
    	var creds *credentials.Credentials
    	switch {
    	case conf.AWSRole:
    		creds = credentials.New(&credentials.IAM{
    			Client: &http.Client{
    				Transport: NewHTTPTransport(),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jun 08 16:13:30 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

         * Ensures writeSetupWireFormat writes subcommand and trailing zero, returning 2.
         */
        @Test
        void testWriteSetupWireFormat() {
            // Given
            Trans2FindNext2 next = new Trans2FindNext2(0x1111, 0, "*");
            byte[] dst = new byte[2];
    
            // When
            int written = next.writeSetupWireFormat(dst, 0);
    
            // Then
            assertEquals(2, written, "Should write 2 bytes");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

            return;
          }
          prevInBucket = entryInBucket;
        }
        throw new AssertionError("Expected to find entry with value " + values[entry]);
      }
    
      /**
       * Updates the specified entry to point to the new value: removes the old value from the V-to-K
       * mapping and puts the new one in. The entry does not move in the insertion order of the bimap.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java

    @NullUnmarked
    public class PatternFilenameFilterTest extends TestCase {
    
      public void testSyntaxException() {
        assertThrows(PatternSyntaxException.class, () -> new PatternFilenameFilter("("));
      }
    
      public void testAccept() {
        File dir = new File("foo");
        FilenameFilter filter = new PatternFilenameFilter("a+");
        assertTrue(filter.accept(dir, "a"));
        assertTrue(filter.accept(dir, "aaaa"));
        assertFalse(filter.accept(dir, "b"));
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            scriptEngineFactory = new ScriptEngineFactory();
            ComponentUtil.register(scriptEngineFactory, "scriptEngineFactory");
            testScriptEngine = new TestScriptEngine();
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                    }
                  }
                  return true;
                };
        TypeWithDuplicates a = new TypeWithDuplicates(1, 1);
        TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1);
        TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2);
        TypeWithDuplicates c = new TypeWithDuplicates(3, 1);
        CollectorTester.of(collector, equivalence)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.2K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        HasBoth hasBoth = new HasBoth();
        FluentIterable<TypeA> alist =
            FluentIterable.from(asList(new TypeA(), new TypeA(), hasBoth, new TypeA()));
        Iterable<TypeB> blist = alist.filter(TypeB.class);
        assertThat(blist).containsExactly(hasBoth).inOrder();
      }
    
      public void testAnyMatch() {
        ArrayList<String> list = new ArrayList<>();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/Maps.java

         */
        public static <KEY, VALUE> Maps<KEY, VALUE> concurrentHashMap(final KEY key, final VALUE value) {
            return new Maps<>(new ConcurrentHashMap<KEY, VALUE>()).$(key, value);
        }
    
        /**
         * Returns a {@literal Maps} for constructing a {@link HashMap} with the specified key and value.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            MockitoAnnotations.openMocks(this);
            referralData = new DfsReferralDataImpl();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with self-referencing next")
            void testConstructorInitialization() {
                DfsReferralDataImpl data = new DfsReferralDataImpl();
                assertNotNull(data.next());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

            Collection<String> activatedIds = new HashSet<>(context.getActiveProfileIds());
            Collection<String> deactivatedIds = new HashSet<>(context.getInactiveProfileIds());
    
            List<Profile> activeProfiles = new ArrayList<>(profiles.size());
            List<Profile> activePomProfilesByDefault = new ArrayList<>();
            boolean activatedPomProfileNotByDefault = false;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top