Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 251 - 260 of 491 for ccancel (0.09 seconds)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        @Test
        @DisplayName("Should write channel field as zero")
        void testChannelFieldAlwaysZero() throws Exception {
            // Given
            byte[] buffer = new byte[512];
    
            // When
            request.encode(buffer, 0);
    
            // Then
            int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH;
            assertEquals(0, SMBUtil.readInt4(buffer, bodyOffset + 8)); // Channel field should always be 0
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle read request with RDMA channel")
            void testReadRequestWithRdmaChannel() {
                request.setReadLength(65536);
                request.setOffset(0L);
                // Note: channel is private and not settable via public API
                // This test documents that channel defaults to SMB2_CHANNEL_NONE
    
                byte[] buffer = new byte[256];
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelTestSuite.java

     */
    package jcifs.internal.smb2.multichannel;
    
    import org.junit.platform.suite.api.SelectClasses;
    import org.junit.platform.suite.api.Suite;
    
    /**
     * Test suite for SMB3 Multi-Channel functionality
     */
    @Suite
    @SelectClasses({ NetworkInterfaceInfoTest.class, ChannelInfoTest.class, ChannelLoadBalancerTest.class, ChannelFailoverTest.class,
            ChannelManagerTest.class })
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. doc/go_spec.html

    <p>
    A send statement sends a value on a channel.
    The channel expression must be of <a href="#Channel_types">channel type</a>,
    the channel direction must permit send operations,
    and the type of the value to be sent must be <a href="#Assignability">assignable</a>
    to the channel's element type.
    </p>
    
    <pre class="ebnf">
    SendStmt = Channel "&lt;-" Expression .
    Channel  = Expression .
    </pre>
    
    <p>
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
  5. src/main/java/jcifs/internal/witness/WitnessClient.java

            // Stop all async notification tasks first
            List<CompletableFuture<Void>> taskFutures = new ArrayList<>(asyncNotifyTasks.values());
            for (CompletableFuture<Void> task : taskFutures) {
                task.cancel(true);
            }
            asyncNotifyTasks.clear();
    
            // Unregister all active registrations
            List<CompletableFuture<Void>> unregisterFutures = new ArrayList<>();
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            }
            this.response = (ServerMessageBlock) response;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Request#isCancel()
         */
        @Override
        public boolean isCancel() {
            return false;
        }
    
        /**
         * @return the mid
         */
        @Override
        public final long getMid() {
            return this.mid;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/config/BaseConfiguration.java

        // Multi-channel configuration fields
        /**
         * Whether to use SMB3 multi-channel support for improved performance and redundancy
         */
        protected boolean useMultiChannel;
        /**
         * Maximum number of SMB3 channels to establish per session
         */
        protected int maxChannels;
        /**
         * Channel binding policy: -1=not set, 0=disabled, 1=preferred, 2=required
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  8. .github/workflows/iam-integrations.yaml

    on:
      pull_request:
        branches:
          - master
    
    # This ensures that previous jobs for the PR are canceled when the PR is
    # updated.
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref }}
      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      iam-matrix-test:
        name: "[Go=${{ matrix.go-version }}|ldap=${{ matrix.ldap }}|etcd=${{ matrix.etcd }}|openid=${{ matrix.openid }}]"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. cmd/metrics-v2_test.go

    		},
    	}
    	ticker := time.NewTicker(1 * time.Millisecond)
    	defer ticker.Stop()
    	for _, obs := range observations {
    		// Send observations once every 1ms, to simulate delay between
    		// observations. This is to test the channel based
    		// synchronization used internally.
    		<-ticker.C
    		ttfbHist.With(prometheus.Labels{"api": obs.label}).Observe(obs.val)
    	}
    
    	metrics := getHistogramMetrics(ttfbHist, getBucketTTFBDistributionMD(), false, false)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotNull("file", file);
    
            final FileInputStream is = InputStreamUtil.create(file);
            try {
                final FileChannel channel = is.getChannel();
                final long fileSize = ChannelUtil.size(channel);
    
                if (fileSize > maxSize) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 13.1K bytes
    - Click Count (0)
Back to Top