Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1531 - 1540 of 2,832 for contains (0.2 seconds)

  1. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

        void testToString() throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/bar");
            String s = cmd.toString();
            assertTrue(s.contains("Trans2GetDfsReferral["));
            assertTrue(s.contains("filename=/bar"));
            assertTrue(s.contains("maxReferralLevel=0x3"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 5, -1, 65534 })
        @DisplayName("referral level variations")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

        }
    
        @Override
        public boolean include(Artifact artifact) {
            String id = artifact.getArtifactId();
    
            if (excludes.contains(id)) {
                return false;
            }
    
            id = artifact.getGroupId() + ':' + id;
    
            return !excludes.contains(id);
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + excludes.hashCode();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Act
            String result = nodeStatusRequest.toString();
    
            // Assert
            assertTrue(result.contains("NodeStatusRequest"));
            assertTrue(result.contains("nameTrnId=12345"));
            assertTrue(result.contains("TESTNAME"));
        }
    
        @Test
        void toString_withNullQuestionName_shouldHandleGracefully() {
            // Arrange
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            } else if (changeTypes.contains(METHOD_ADDED_TO_PUBLIC_CLASS) || changeTypes.contains(METHOD_ADDED_TO_INTERFACE)) {
                return isCurrentGetterOfUpgradedProperty(jApiMethod, currentAccessors) || isKotlinBooleanSourceCompatibilityMethod(jApiMethod, currentAccessors);
            } else if (changeTypes.contains(METHOD_RETURN_TYPE_CHANGED)) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. cmd/update-notifier_test.go

    			// Valid no update message case. No further
    			// validation needed.
    			continue
    		case !strings.Contains(output, line1):
    			t.Errorf("Testcase %d: output '%s' did not contain line 1: '%s'", i+1, output, line1)
    		case !strings.Contains(output, line2):
    			t.Errorf("Testcase %d: output '%s' did not contain line 2: '%s'", i+1, output, line2)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/Jdk.java

        public String getName() {
            return name;
        }
    
        public String getVendor() {
            return vendor.get();
        }
    
        public void setVendor(final String vendor) {
            if (ALLOWED_VENDORS.contains(vendor) == false) {
                throw new IllegalArgumentException("unknown vendor [" + vendor + "] for jdk [" + name + "], must be one of " + ALLOWED_VENDORS);
            }
            this.vendor.set(vendor);
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 6.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            // When
            String result = instance.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("SmbComWriteAndXResponse"));
            assertTrue(result.contains("count=0"));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            String toStringResult = exception.toString();
            assertNotNull(toStringResult);
            assertTrue(toStringResult.contains(PluginException.class.getName()));
            assertTrue(toStringResult.contains(message));
        }
    
        @Test
        public void test_toStringMethodWithCause() {
            // Test toString method behavior with cause
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *   <li>The enqueuing and dequeuing operations ({@link #offer}, {@link #add}, and all the forms of
     *       {@link #poll} and {@link #remove()}) run in {@code O(log n) time}.
     *   <li>The {@link #remove(Object)} and {@link #contains} operations require linear ({@code O(n)})
     *       time.
     *   <li>If you only access one end of the queue, and don't use a maximum size, this class is
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  10. tests/create_test.go

    		GetUser("invalid_slice_2", Config{}),
    		nil,
    	}
    
    	if err := DB.Create(&users).Error; !errors.Is(err, gorm.ErrInvalidData) {
    		t.Errorf("should returns error invalid data when creating from slice that contains invalid data")
    	}
    }
    
    func TestCreateWithExistingTimestamp(t *testing.T) {
    	user := User{Name: "CreateUserExistingTimestamp"}
    	curTime := now.MustParse("2016-01-01")
    	user.CreatedAt = curTime
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
Back to Top