Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for onError (0.29 sec)

  1. tests/joins_test.go

    		user := &User{Name: fmt.Sprintf("User%d", i), ManagerID: &manager.ID}
    		DB.Create(user)
    		userIDs = append(userIDs, user.ID)
    	}
    
    	var entries []User
    	assert.NotPanics(t, func() {
    		assert.NoError(t,
    			DB.Preload("Manager.Team").
    				Joins("Manager.Company").
    				Find(&entries).Error)
    	})
    }
    
    func TestJoinsPreload_Issue7013_RelationEmpty(t *testing.T) {
    	type (
    		Furniture struct {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 15K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTree.java

                }
            }
        }
    
        void treeDisconnect(final boolean inError) {
            synchronized (session.transport()) {
    
                if (connectionState != 2) { // not-connected
                    return;
                }
                connectionState = 3; // disconnecting
    
                if (!inError && tid != 0) {
                    try {
                        send(new SmbComTreeDisconnect(), null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                for (final Enumeration e = trees.elements(); e.hasMoreElements();) {
                    final SmbTree t = (SmbTree) e.nextElement();
                    t.treeDisconnect(inError);
                }
    
                if (!inError && transport.server.security != SmbConstants.SECURITY_SHARE) {
                    /*
                     * Logoff And X Request / Response
                     */
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeConnection.java

                            try {
                                t.treeDisconnect(inError, true);
                            } finally {
                                this.tree = null;
                                this.treeAcquired = false;
                            }
                        } else {
                            this.delegate.disconnect(inError);
                        }
                    }
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

                } catch (final CIFSException e) {
                    throw new SmbException("Logon share connection failed", e);
                }
            }
        }
    
        boolean treeDisconnect(final boolean inError, final boolean inUse) {
            boolean wasInUse = false;
            try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) {
                synchronized (transport) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

                    && tc.getConfig().getDefaultPassword() != null;
        }
    
        boolean logoff(boolean inError, boolean inUse) {
            boolean wasInUse = false;
            try (SmbTransportImpl trans = getTransport()) {
                synchronized (trans) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    		ClientToken:   clientToken,
    		ClientAddress: h.clientAddress,
    		StartTime:     h.startTime,
    	})
    	if err != nil {
    		bugLogIf(h.ctx, err)
    		return nil, toAdminAPIErr(h.ctx, err), ""
    	}
    	return b, noError, ""
    }
    
    // PopHealStatusJSON - Called by heal-status API. It fetches the heal
    // status results from global state and returns its JSON
    // representation. The clientToken helps ensure there aren't
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. configure.py

      """Force symlink, equivalent of 'ln -sf'.
    
      Args:
        target: items to link to.
        link_name: name of the link.
      """
      try:
        os.symlink(target, link_name)
      except OSError as e:
        if e.errno == errno.EEXIST:
          os.remove(link_name)
          os.symlink(target, link_name)
        else:
          raise e
    
    
    def write_to_bazelrc(line):
      with open(_TF_BAZELRC, 'a') as f:
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    				// Send whitespace and keep connection open
    				if _, err := w.Write([]byte(" ")); err != nil {
    					return
    				}
    				xhttp.Flush(w)
    			case hr := <-respCh:
    				switch hr.apiErr {
    				case noError:
    					if started {
    						if _, err := w.Write(hr.respBytes); err != nil {
    							return
    						}
    						xhttp.Flush(w)
    					} else {
    						writeSuccessResponseJSON(w, hr.respBytes)
    					}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	}
    	if toStorageErr(nil) != nil {
    		t.Errorf("Test expected to return nil, failed instead got a non-nil value %s", toStorageErr(nil))
    	}
    	ctx := t.Context()
    	if toAPIError(ctx, nil) != noError {
    		t.Errorf("Test expected error code to be ErrNone, failed instead provided %s", toAPIError(ctx, nil).Code)
    	}
    }
    
    // Uploads an object using DummyDataGen directly via the http
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
Back to top