Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2051 - 2060 of 4,153 for _shouldn (0.04 seconds)

  1. src/test/java/jcifs/internal/SMBSigningDigestTest.java

            // Act
            boolean result = signingDigest.verify(testData, offset, length, extraPad, message);
    
            // Assert
            assertTrue(result, "Verify should return true for valid signature");
            verify(signingDigest, times(1)).verify(testData, offset, length, extraPad, message);
        }
    
        @Test
        @DisplayName("Test verify method returns false for invalid signature")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        public void testConstructorWithNullConfig() {
            // Given
            String oldFileName = "old.txt";
            String newFileName = "new.txt";
    
            // When & Then - should throw NullPointerException
            assertThrows(NullPointerException.class, () -> {
                new SmbComRename(null, oldFileName, newFileName);
            });
        }
    
        /**
         * Test with null file names
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/UniAddressTest.java

        class IsDotQuadIPTests {
    
            @ParameterizedTest(name = "should return true for valid IP address: {0}")
            @ValueSource(strings = { "192.168.1.1", "10.0.0.255", "0.0.0.0", "255.255.255.255" })
            void shouldReturnTrueForValidIpAddresses(String ip) {
                assertTrue(UniAddress.isDotQuadIP(ip));
            }
    
            @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  4. cmd/erasure-coding.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/hex"
    	"fmt"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. internal/config/dns/etcd_dns.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dns
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. internal/event/target/redis.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package target
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

            environment.put(key, value)
        }
    
        /** A flag to indicate whether the command should be executed from a shell. */
        @Internal
        boolean useShell = false
    
        @Internal
        int maxWaitInSeconds = 30
    
        /**
         * A flag to indicate whether the fixture should be run in the foreground, or spawned.
         * It is protected so subclasses can override (eg RunTask).
         */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

            project.getPluginManager().apply(GradleTestPolicySetupPlugin.class);
            // for fips mode check
            project.getRootProject().getPluginManager().apply(GlobalBuildInfoPlugin.class);
            // Default test task should run only unit tests
            maybeConfigure(project.getTasks(), "test", Test.class, task -> task.include("**/*Tests.class"));
    
            // none of this stuff is applicable to the `:buildSrc` project tests
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteDatabase.kt

      }
    
      /** Records success connecting to [route]. */
      @Synchronized fun connected(route: Route) {
        _failedRoutes.remove(route)
      }
    
      /** Returns true if [route] has failed recently and should be avoided. */
      @Synchronized fun shouldPostpone(route: Route): Boolean = route in _failedRoutes
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/EmptyIterator.java

     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.8K bytes
    - Click Count (0)
Back to Top