Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,843 for context (0.1 sec)

  1. src/main/java/jcifs/util/SecureKeyManager.java

            int pos = 0;
            System.arraycopy(baseKey, 0, input, pos, baseKey.length);
            pos += baseKey.length;
            System.arraycopy(labelBytes, 0, input, pos, labelBytes.length);
            pos += labelBytes.length;
            if (context != null) {
                System.arraycopy(context, 0, input, pos, context.length);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

         * Calls the static {@link #authenticate(CIFSContext, HttpServletRequest,
         * HttpServletResponse, byte[])} method to perform NTLM authentication
         * for the specified servlet request.
         *
         * @param tc the CIFS context to use
         *
         * @param req
         *            The request being serviced.
         * @param resp
         *            The response.
         * @param challenge
         *            The domain controller challenge.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            assertSame(session, result);
            verify(transport).getSmbSession(eq(ctx));
        }
    
        // Edge inputs: null context returns null session per mock setup
        @Test
        @DisplayName("getSmbSession(ctx) with null context returns null as stubbed")
        void getSmbSession_byContext_null() {
            when(transport.getSmbSession(isNull(jcifs.CIFSContext.class))).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. cmd/erasure-decode.go

    // Decode reads from readers, reconstructs data if needed and writes the data to the writer.
    // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed.
    func (e Erasure) Decode(ctx context.Context, writer io.Writer, readers []io.ReaderAt, offset, length, totalLength int64, prefer []bool) (written int64, derr error) {
    	if offset < 0 || length < 0 {
    		return -1, errInvalidArgument
    	}
    	if offset+length > totalLength {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SID.java

        }
    
        /**
         * Initializes the context and server for this SID for deferred resolution.
         *
         * @param context the CIFS context to use
         * @param server the server name for SID resolution
         */
        public void initContext(final String server, final CIFSContext context) {
            this.origin_ctx = context;
            this.origin_server = server;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            loc.type = this.type;
            return loc;
        }
    
        /**
         * @param context
         * @param name
         */
        void resolveInContext(final SmbResourceLocator context, String name) {
            final String shr = context.getShare();
            if (shr != null) {
                this.dfsReferral = context.getDfsReferral();
            }
            final int last = name.length() - 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                // Manually set targetNameOff to a value that makes it too small for context/reserved
                Type2Message.writeULong(rawMessage, 16, 0); // targetNameOff is at byte 16
    
                // When
                Type2Message parsedMessage = new Type2Message(rawMessage);
    
                // Then
                assertNotNull(parsedMessage);
                // Context and TargetInformation should be null because there's no room to parse them
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. cmd/erasure-sets_test.go

    	}
    }
    
    // TestNewErasure - tests initialization of all input disks
    // and constructs a valid `Erasure` object
    func TestNewErasureSets(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	nDisks := 16 // Maximum disks.
    	var erasureDisks []string
    	for range nDisks {
    		// Do not attempt to create this path, the test validates
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. cmd/rebalance-admin.go

    	Pools     []rebalancePoolStatus `json:"pools"` // contains all pools, including inactive
    	StoppedAt time.Time             `json:"stoppedAt"`
    }
    
    func rebalanceStatus(ctx context.Context, z *erasureServerPools) (r rebalanceAdminStatus, err error) {
    	// Load latest rebalance status
    	meta := &rebalanceMeta{}
    	err = meta.load(ctx, z.serverPools[0])
    	if err != nil {
    		return r, err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. cmd/metacache-stream.go

    	}
    	return metaCacheEntriesSorted{o: res}, nil
    }
    
    // readAll will return all remaining objects on the dst channel and close it when done.
    // The context allows the operation to be canceled.
    func (r *metacacheReader) readAll(ctx context.Context, dst chan<- metaCacheEntry) error {
    	r.checkInit()
    	if r.err != nil {
    		return r.err
    	}
    	defer xioutil.SafeClose(dst)
    	if r.current.name != "" {
    		select {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top