Search Options

Results per page
Sort
Preferred Languages
Advance

Results 441 - 450 of 5,228 for newE (0.02 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/Progress.java

    import okio.Okio;
    import okio.Source;
    
    public final class Progress {
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
          @Override public void update(long bytesRead, long contentLength, boolean done) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        @Override
        public void execute(MavenSession session) {}
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

        private String packaging;
        private Parent parent;
        private final List<Dependency> dependencies = new ArrayList<>();
        private final List<Plugin> plugins = new ArrayList<>();
        private final List<Property> properties = new ArrayList<>();
    
        public static PomBuilder create() {
            return new PomBuilder();
        }
    
        public PomBuilder modelVersion(String modelVersion) {
            this.modelVersion = modelVersion;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
            assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)");
    
            // Test with zero
            byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanCreatorTest.java

                plan.requiredStep(project, "after:test-resources").addMojo(new MojoExecution(null), 0);
                plan.requiredStep(project, "compile").addMojo(new MojoExecution(null), 0);
                plan.requiredStep(project, "test-compile").addMojo(new MojoExecution(null), 0);
                plan.requiredStep(project, "test").addMojo(new MojoExecution(null), 0);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 28 15:21:19 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // SMB1 negotiation with server data
            SmbComNegotiateResponse smb1 = new SmbComNegotiateResponse(ctx);
            ServerData sd = smb1.getServerData();
            sd.encryptionKey = new byte[] { 1, 2, 3 };
            setField(transport, "negotiated", smb1);
            assertArrayEquals(new byte[] { 1, 2, 3 }, transport.getServerEncryptionKey());
    
            // SMB2 negotiation never exposes key via this API
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

        private CompressionNegotiateContext context;
    
        @BeforeEach
        public void setUp() throws Exception {
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
            context = new CompressionNegotiateContext(config, new int[] { CompressionNegotiateContext.COMPRESSION_LZ77,
                    CompressionNegotiateContext.COMPRESSION_LZ77_HUFFMAN, CompressionNegotiateContext.COMPRESSION_LZNT1 });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnum.java

        /**
         * Creates a new DFS root enumeration request for the specified server.
         *
         * @param server the server name to enumerate DFS roots from
         */
        public MsrpcDfsRootEnum(final String server) {
            super(server, 200, 0xFFFF, new netdfs.DfsEnumStruct(), new NdrLong(0));
            this.info.level = this.level;
            this.info.e = new netdfs.DfsEnumArray200();
            this.ptype = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. .ci/init.gradle

    }
    
    final String vaultToken = System.getenv('VAULT_TOKEN') ?: new Vault(
      new VaultConfig()
        .address(System.env.VAULT_ADDR)
        .engineVersion(1)
        .build()
    )
      .withRetries(5, 1000)
      .auth()
      .loginByAppRole("approle", System.env.VAULT_ROLE_ID, System.env.VAULT_SECRET_ID)
      .getAuthClientToken()
    
    final Vault vault = new Vault(
      new VaultConfig()
        .address(System.env.VAULT_ADDR)
        .engineVersion(1)
    Registered: Sun Dec 21 06:47:06 UTC 2025
    - Last Modified: Wed Nov 13 10:14:04 UTC 2019
    - 3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/eventbus/ReentrantEventsTest.java

     */
    @NullUnmarked
    public class ReentrantEventsTest extends TestCase {
    
      static final String FIRST = "one";
      static final Double SECOND = 2.0d;
    
      final EventBus bus = new EventBus();
    
      public void testNoReentrantEvents() {
        ReentrantEventsHater hater = new ReentrantEventsHater();
        bus.register(hater);
    
        bus.post(FIRST);
    
        assertEquals(
            "ReentrantEventHater expected 2 events",
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top