Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 954 for zero (0.97 sec)

  1. internal/bucket/lifecycle/evaluator_test.go

    		{Action: NoneAction},
    	}
    	for i := range wantEvents {
    		if gotEvents[i].Action != wantEvents[i].Action {
    			t.Fatalf("test-%d: got %v, want %v", i+1, gotEvents[i], wantEvents[i])
    		}
    	}
    
    	// Test with zero versions
    	events, err := evaluator.Eval(nil)
    	if len(events) != 0 || err != nil {
    		t.Fatal("expected no events nor error")
    	}
    }
    
    func TestEmptyEvaluator(t *testing.T) {
    	var objs []ObjectOpts
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MoreCollectors.java

              ToOptionalState::add,
              ToOptionalState::combine,
              ToOptionalState::getOptional,
              Collector.Characteristics.UNORDERED);
    
      /**
       * A collector that converts a stream of zero or one elements to an {@code Optional}.
       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. cmd/http-tracer_test.go

    	totalRequests := 0
    	for _, v := range finalStats.TotalS3Requests.APIStats {
    		totalRequests += v
    	}
    	if totalRequests == 0 {
    		t.Error("Expected some total requests to be recorded, but got zero")
    	}
    	t.Logf("Total requests recorded: %d", totalRequests)
    	t.Logf("Race condition test passed - no races detected")
    }
    
    // TestHTTPAPIStatsRaceCondition tests concurrent access to HTTPAPIStats specifically.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacTest.java

            assertThrows(Exception.class, () -> new Pac(pacData, keys));
        }
    
        @Test
        void testZeroBufferCount() throws IOException {
            // Test PAC with zero buffers (missing required buffers)
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            writeLittleEndianInt(baos, 0); // bufferCount = 0
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. internal/pubsub/pubsub.go

    func (ps *PubSub[T, M]) Subscribers() int32 {
    	return atomic.LoadInt32(&ps.numSubscribers)
    }
    
    // New inits a PubSub system with a limit of maximum
    // subscribers unless zero is specified
    func New[T Maskable, M Maskable](maxSubscribers int32) *PubSub[T, M] {
    	return &PubSub[T, M]{maxSubscribers: maxSubscribers}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 06 16:57:30 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. statement.go

    					if destField := descSchema.LookUpField(field.DBName); destField != nil {
    						changedValue, zero := destField.ValueOf(stmt.Context, destValue)
    						if v {
    							return !utils.AssertEqual(changedValue, fieldValue)
    						}
    						return !zero && !utils.AssertEqual(changedValue, fieldValue)
    					}
    				}
    			}
    		}
    		return false
    	}
    
    	if len(fields) == 0 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/ByteStreams.java

       * file is detected. The number of bytes read is returned, possibly zero. Does not close the
       * stream.
       *
       * <p>A caller can detect EOF if the number of bytes read is less than {@code len}. All subsequent
       * calls on the same stream will return zero.
       *
       * <p>If {@code b} is null, a {@code NullPointerException} is thrown. If {@code off} is negative,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  8. docs/pt/docs/deployment/docker.md

    ## Construir uma Imagem Docker para FastAPI { #build-a-docker-image-for-fastapi }
    
    Okay, vamos construir algo agora! 🚀
    
    Eu vou mostrar como construir uma **imagem Docker** para FastAPI **do zero**, baseada na imagem **oficial do Python**.
    
    Isso é o que você quer fazer na **maioria dos casos**, por exemplo:
    
    * Usando **Kubernetes** ou ferramentas similares
    * Quando rodando em uma **Raspberry Pi**
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle.go

    			return true
    		}
    		if !rule.Transition.IsDateNull() && rule.Transition.Date.Before(time.Now().UTC()) {
    			return true
    		}
    		if !rule.Transition.IsNull() { // this allows for Transition.Days to be zero.
    			return true
    		}
    	}
    	return false
    }
    
    // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns
    // unique id to rules with empty ID.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 03 06:45:06 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            assertEquals(roles, elevateWord.getRoles());
        }
    
        @Test
        public void testConstructorWithZeroBoost() {
            // Test constructor with zero boost
            String word = "zero boost";
            float boost = 0.0f;
            List<String> readings = Arrays.asList("reading1");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top