Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 239 for returningT2 (0.1 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        return (E[]) new Object[capacity];
      }
    
      /**
       * Inserts the specified element at the tail of this queue if it is possible to do so immediately
       * without exceeding the queue's capacity, returning {@code true} upon success and throwing an
       * {@code IllegalStateException} if this queue is full.
       *
       * @param e the element to add
       * @return {@code true} (as specified by {@link Collection#add})
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. callbacks/update.go

    				}
    			}
    
    			return called
    		})
    	}
    }
    
    // Update update hook
    func Update(config *Config) func(db *gorm.DB) {
    	supportReturning := utils.Contains(config.UpdateClauses, "RETURNING")
    
    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    		if db.Statement.Schema != nil {
    			for _, c := range db.Statement.Schema.UpdateClauses {
    				db.Statement.AddClause(c)
    			}
    		}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. cmd/dummy-handlers.go

    package cmd
    
    import (
    	"net/http"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Data types used for returning dummy tagging XML.
    // These variables shouldn't be used elsewhere.
    // They are only defined to be used in this file alone.
    
    // GetBucketWebsite  - GET bucket website, a dummy api
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            };
    
            // When all entries fail, iterator should be empty
            assertFalse(iterator.hasNext());
            assertNull(iterator.next());
        }
    
        @Test
        @DisplayName("Adapter returning null on all entries")
        void adapterReturnsNullOnAll() {
            // Setup
            FileEntry entry1 = mock(FileEntry.class);
            FileEntry entry2 = mock(FileEntry.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  5. internal/event/config.go

    		return nil, err
    	}
    
    	if err := config.Validate(region, targetList); err != nil {
    		return nil, err
    	}
    
    	config.SetRegion(region)
    	// If xml namespace is empty, set a default value before returning.
    	if config.XMLNS == "" {
    		config.XMLNS = "http://s3.amazonaws.com/doc/2006-03-01/"
    	}
    	return &config, nil
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. internal/s3select/sql/aggregation.go

    	case aggFnMax:
    		if !e.aggregate.seen {
    			// No rows were seen by MAX
    			return FromNull(), nil
    		}
    		return e.aggregate.runningMax, nil
    
    	case aggFnSum:
    		// TODO: check if returning 0 when no rows were seen
    		// by SUM is expected behavior.
    		return e.aggregate.runningSum, nil
    
    	default:
    		// TODO:
    	}
    
    	return nil, errInvalidAggregation
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
       * Executes {@code callable} on the specified {@code executor}, returning a {@code Future}.
       *
       * @throws RejectedExecutionException if the task cannot be scheduled for execution
       * @since 28.2
       */
      public static <O extends @Nullable Object> ListenableFuture<O> submit(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/NetworkBuilder.java

     *       elements were added (insertion order)
     * </ul>
     *
     * <p>{@code Network}s built by this class also guarantee that each collection-returning accessor
     * returns a <b>(live) unmodifiable view</b>; see <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external
     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. cmd/bitrot-streaming.go

    }
    
    func (b *streamingBitrotWriter) Close() error {
    	// Close the underlying writer.
    	// This will also flush the ring buffer if used.
    	err := b.iow.Close()
    
    	// Wait for all data to be written before returning else it causes race conditions.
    	// Race condition is because of io.PipeWriter implementation. i.e consider the following
    	// sequent of operations:
    	// 1) pipe.Write()
    	// 2) pipe.Close()
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jan 17 19:19:30 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRetainAll_nullCollectionReferenceEmptySubject() {
        try {
          collection.retainAll(null);
          // Returning successfully is not ideal, but tolerated.
        } catch (NullPointerException tolerated) {
        }
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top