Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 4,487 for alse (0.04 sec)

  1. internal/rest/client_test.go

    			err:  &url.Error{Op: "PUT", URL: "http://localhost/1234", Err: restError("remote server offline")},
    			want: true,
    		},
    		{
    			name: "net.Error-unmatched",
    			err:  errors.New("something"),
    			want: false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			// Wrap error
    			n := &NetworkError{
    				Err: tt.err,
    			}
    			//nolint:gocritic
    			if tt.target == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. finisher_api.go

    		}
    
    		return tx.Create(dest)
    	} else if len(db.Statement.assigns) > 0 {
    		exprs := tx.Statement.BuildCondition(db.Statement.assigns[0], db.Statement.assigns[1:]...)
    		assigns := map[string]interface{}{}
    		for i := 0; i < len(exprs); i++ {
    			expr := exprs[i]
    
    			if eq, ok := expr.(clause.AndConditions); ok {
    				exprs = append(exprs, eq.Exprs...)
    			} else if eq, ok := expr.(clause.Eq); ok {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. docs/iam/access-management-plugin.md

            ""
          ]
        },
        "owner": true,
        "object": "",
        "claims": {},
        "denyOnly": false
      }
    }
    ```
    
    </details>
    
    The response expected by MinIO, is a JSON body with a boolean:
    
    ```json
    {
        "result": true
    }
    ```
    
    The following structure is also accepted:
    
    ```json
    {
        "result": {
            "allow": true
        }
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 13 22:28:48 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

        return;
      } else if (context->GetContextId() ==
                 tensorflow::EagerContext::kInvalidContextId) {
        status->status = tensorflow::errors::InvalidArgument(
            "Trying to update a context with invalid context id.");
      }
      status->status =
          tensorflow::unwrap(ctx)->GetDistributedManager()->SetOrUpdateServerDef(
              server_def, /*reset_context=*/false, keep_alive_secs,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

                nextToRun = waitQueue.poll();
                nextLabel = labelQueue.poll();
                if (nextToRun == null) {
                  isThreadScheduled = false;
                  stillRunning = false;
                  break;
                }
              }
    
              // Always run while _not_ holding the lock, to avoid deadlocks.
              try {
                nextToRun.call(listener);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. src/bytes/buffer.go

    		// slice. We only need m+n <= c to slide, but
    		// we instead let capacity get twice as large so we
    		// don't spend all our time copying.
    		copy(b.buf, b.buf[b.off:])
    	} else if c > maxInt-c-n {
    		panic(ErrTooLarge)
    	} else {
    		// Add b.off to account for b.buf[:b.off] being sliced off the front.
    		b.buf = growSlice(b.buf[b.off:], b.off+n)
    	}
    	// Restore b.off and len(b.buf).
    	b.off = 0
    	b.buf = b.buf[:m+n]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/ChecksumHashFunction.java

              throwIfUnchecked(e);
              // This should be impossible, since `update` has no `throws` clause.
              throw new UndeclaredThrowableException(e);
            }
            return true;
          } else {
            return false;
          }
        }
    
        private static @Nullable MethodHandle updateByteBuffer() {
          try {
            Class<?> clazz = Class.forName("java.util.zip.Checksum");
            return MethodHandles.lookup()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java

         * for finalName directly in the plugin configuration section. It is also useful to ensure that - for example - a
         * List-typed parameter which expects items of type Artifact doesn't get a List full of Strings.
         *
         * @return <code>true</code> if the user should not be allowed to configure the parameter directly
         */
        boolean readonly() default false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. migrator/migrator.go

    	if v, ok := oldName.(string); ok {
    		oldTable = clause.Table{Name: v}
    	} else {
    		stmt := &gorm.Statement{DB: m.DB}
    		if err := stmt.Parse(oldName); err == nil {
    			oldTable = m.CurrentTable(stmt)
    		} else {
    			return err
    		}
    	}
    
    	if v, ok := newName.(string); ok {
    		newTable = clause.Table{Name: v}
    	} else {
    		stmt := &gorm.Statement{DB: m.DB}
    		if err := stmt.Parse(newName); err == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/AbstractBaseGraph.java

          // Graph<LinkedList>.
          @SuppressWarnings("unchecked")
          @Override
          public boolean contains(@CheckForNull Object obj) {
            if (!(obj instanceof EndpointPair)) {
              return false;
            }
            EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
            return isOrderingCompatible(endpointPair)
                && nodes().contains(endpointPair.nodeU())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top