Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 4,820 for If (0.02 sec)

  1. tests/hooks_test.go

    	if err != nil {
    		t.Fatalf("should update success, but got err %v", err)
    	}
    	if beforeUpdateCall != 1 {
    		t.Fatalf("before update should be called")
    	}
    
    	err = DB.Model(Product5{}).Where("id", p.ID).Update("name", "update_name_2").Error
    	if !errors.Is(err, gorm.ErrInvalidValue) {
    		t.Fatalf("should got RecordNotFound, but got %v", err)
    	}
    	if beforeUpdateCall != 1 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics_gen_test.go

    	v := ActiveWorkerStat{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            if (!(request instanceof final ServerMessageBlock req)) {
                return;
            }
    
            req.addFlags2(this.negotiatedFlags2);
            req.setUseUnicode(req.isForceUnicode() || this.useUnicode);
            if (req.isUseUnicode()) {
                req.addFlags2(SmbConstants.FLAGS2_UNICODE);
            }
    
            if (req instanceof SmbComTransaction) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        queue.activeTask = null
        busyQueues.remove(queue)
    
        if (delayNanos != -1L && !cancelActiveTask && !queue.shutdown) {
          queue.scheduleAndDecide(task, delayNanos, recurrence = true)
        }
    
        if (queue.futureTasks.isNotEmpty()) {
          readyQueues.add(queue)
    
          // If the task crashed, start another thread to run the next task.
          if (!completedNormally) {
            startAnotherThread()
          }
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. docs/site-replication/run-multi-site-oidc.sh

    ./mc admin policy info minio2 projecta >/dev/null 2>&1
    if [ $? -ne 0 ]; then
    	echo "expecting the command to succeed, exiting.."
    	exit_1
    fi
    ./mc admin policy info minio3 projecta >/dev/null 2>&1
    if [ $? -ne 0 ]; then
    	echo "expecting the command to succeed, exiting.."
    	exit_1
    fi
    
    ./mc admin policy remove minio3 projecta
    
    sleep 10
    ./mc admin policy info minio1 projecta
    if [ $? -eq 0 ]; then
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
    
        /**
         * Tests to see if the SMB resource exists. If the resource refers
         * only to a server, this method determines if the server exists on the
         * network and is advertising SMB services. If this resource refers to
         * a workgroup, this method determines if the workgroup name is valid on
         * the local SMB network. If this <code>SmbFile</code> refers to the root
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

                try {
                    final Request key = peekKey();
                    if (key == null) {
                        throw new IOException("end of stream");
                    }
                    synchronized (this) {
                        final Response response = (Response) response_map.get(key);
                        if (response == null) {
                            if (LogStream.level >= 4) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. cmd/site-replication-utils.go

    func (sm *siteResyncMetrics) load(ctx context.Context, objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errServerNotInitialized
    	}
    	info, err := globalSiteReplicationSys.GetClusterInfo(ctx)
    	if err != nil {
    		return err
    	}
    	if !info.Enabled {
    		return nil
    	}
    	for _, peer := range info.Sites {
    		if peer.DeploymentID == globalDeploymentID() {
    			continue
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * remains in the map as long as the multimap has any values for the key. If
       * all values for the key are removed, the key and collection are removed
       * from the map.
       *
       * The get method returns a WrappedCollection, which decorates the collection
       * in the map (if the key is present) or an empty collection (if the key is
       * not present). When the collection delegate in the WrappedCollection is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  10. cmd/jwt.go

    }
    
    // Check if the request is authenticated.
    // Returns nil if the request is authenticated. errNoAuthToken if token missing.
    // Returns errAuthentication for all other errors.
    func metricsRequestAuthenticate(req *http.Request) (*xjwt.MapClaims, []string, bool, error) {
    	token, err := jwtreq.AuthorizationHeaderExtractor.ExtractToken(req)
    	if err != nil {
    		if err == jwtreq.ErrNoTokenInRequest {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top