Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 1,520 for _context (0.63 sec)

  1. cmd/site-replication-utils.go

    }
    
    func newSiteResyncMetrics(ctx context.Context) *siteResyncMetrics {
    	s := siteResyncMetrics{
    		resyncStatus:  make(map[string]SiteResyncStatus),
    		peerResyncMap: make(map[string]resyncState),
    	}
    	go s.save(ctx)
    	go s.init(ctx)
    	return &s
    }
    
    // init site resync metrics
    func (sm *siteResyncMetrics) init(ctx context.Context) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            // Arrange
            doThrow(new SmbException("login failed")).when(tree).connectLogon(context);
    
            // Act + Assert
            SmbException ex = assertThrows(SmbException.class, () -> tree.connectLogon(context));
            assertEquals("login failed", ex.getMessage());
            verify(tree).connectLogon(context);
        }
    
        @Test
        @DisplayName("send without params returns the stubbed response")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3-audit.go

    		"Total number of messages sent since start",
    		targetID)
    )
    
    // loadAuditMetrics - `MetricsLoaderFn` for audit
    // such as failed messages and total messages.
    func loadAuditMetrics(_ context.Context, m MetricValues, c *metricsCache) error {
    	audit := logger.CurrentStats()
    	for id, st := range audit {
    		labels := []string{targetID, id}
    		m.Set(auditFailedMessages, float64(st.FailedMessages), labels...)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 10 14:50:39 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

     */
    package jcifs.context;
    
    import jcifs.CIFSContext;
    import jcifs.Credentials;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.NtlmAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbRenewableCredentials;
    
    /**
     * Context wrapper supplying alternate credentials
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

    import jcifs.internal.smb2.create.CreateContextResponse;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Durable Handle V2 Response Create Context
     *
     * MS-SMB2 Section 2.2.14.2.4
     */
    public class DurableHandleV2Response implements CreateContextResponse {
    
        /**
         * Context name for durable handle V2 response
         */
        public static final String CONTEXT_NAME = "DH2Q";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. callbacks/delete.go

    			rel, ok := db.Statement.Schema.Relationships.Relations[column]
    			if !ok {
    				continue
    			}
    
    			switch rel.Type {
    			case schema.HasOne, schema.HasMany:
    				queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue)
    				modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
    				tx := db.Session(&gorm.Session{NewDB: true}).Model(modelValue)
    				withoutConditions := false
    				if db.Statement.Unscoped {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/CredentialsInternal.java

        /**
         * Create an SSP context for authentication.
         * @param tc the CIFS context
         * @param targetDomain the target domain for authentication
         * @param host the target host
         * @param initialToken initial authentication token, if any
         * @param doSigning whether message signing should be enabled
         * @return a new SSP authentication context
         * @throws SmbException if context creation fails
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Event should be available.", EVENT, handler.context.getEvent());
        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
            subscriber.getClass().getMethod("throwExceptionOn", String.class),
            handler.context.getSubscriberMethod());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

     * the License.
     */
    
    package com.google.common.eventbus;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.lang.reflect.Method;
    
    /**
     * Context for an exception thrown by a subscriber.
     *
     * @since 16.0
     */
    public class SubscriberExceptionContext {
      private final EventBus eventBus;
      private final Object event;
      private final Object subscriber;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. cmd/warm-backend-minio.go

    	// Part size.
    	partSize = int64(partSizeFlt)
    	if partSize == 0 {
    		return minPartSize, nil
    	}
    	return partSize, nil
    }
    
    func (m *warmBackendMinIO) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) {
    	partSize, err := optimalPartSize(length)
    	if err != nil {
    		return remoteVersionID(""), err
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (1)
Back to top