Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,183 for emptypb (0.11 sec)

  1. pkg/test/util/assert/tracker.go

    }
    
    // Record that an event occurred.
    func (t *Tracker[T]) Record(event T) {
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	t.events = append(t.events, event)
    }
    
    // Empty asserts the tracker is empty
    func (t *Tracker[T]) Empty() {
    	t.t.Helper()
    	t.mu.Lock()
    	defer t.mu.Unlock()
    	if len(t.events) != 0 {
    		t.t.Fatalf("unexpected events: %v", t.events)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ShortCircuitEmptyConfigurationResolverSpec.groovy

            1 * lockingState.mustValidateLockState() >> false
            1 * lockingProvider.persistResolvedDependencies('lockedConf', _, Collections.emptySet(), Collections.emptySet())
        }
    
        def 'empty result with non empty lock state causes resolution through delegate'() {
            given:
            ResolutionStrategyInternal resolutionStrategy = Mock()
            DependencyLockingProvider lockingProvider = Mock()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(Booleans.concat()).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(EMPTY, EMPTY, EMPTY)).isEqualTo(EMPTY);
        assertThat(Booleans.concat(ARRAY_FALSE)).isEqualTo(ARRAY_FALSE);
        assertThat(Booleans.concat(ARRAY_FALSE)).isNotSameInstanceAs(ARRAY_FALSE);
        assertThat(Booleans.concat(EMPTY, ARRAY_FALSE, EMPTY)).isEqualTo(ARRAY_FALSE);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 15:43:29 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/runtime/mgcwork.go

    	if b.nobj == 0 {
    		throw("workbuf is empty")
    	}
    }
    
    func (b *workbuf) checkempty() {
    	if b.nobj != 0 {
    		throw("workbuf is not empty")
    	}
    }
    
    // getempty pops an empty work buffer off the work.empty list,
    // allocating new buffers if none are available.
    //
    //go:nowritebarrier
    func getempty() *workbuf {
    	var b *workbuf
    	if work.empty != 0 {
    		b = (*workbuf)(work.empty.pop())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (title == null) {
                return StringUtil.EMPTY; // empty
            }
    
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(title)) {
                return TextUtil.normalizeText(reader).initialCapacity(title.length()).spaceChars(spaceChars).execute();
            } catch (final IOException e) {
                return StringUtil.EMPTY; // empty
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

                }
    
                @Override
                protected String getClientIp() {
                    return StringUtil.EMPTY;
                }
            };
        }
    
        public void test_login() {
            activityHelper.useEcsFormat = false;
            activityHelper.login(OptionalThing.empty());
            assertEquals("action:LOGIN\tuser:-\tpermissions:-", localLogMsg.get());
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            ["1"]       | []            | _             | "append to empty"                                 | { it.append("1") }
            ["1"]       | _             | []            | "add to empty convention"                         | { it.add("1") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

    // format.
    // NOTE: If shapes_str is empty, shapes_vector will also be empty.
    Status ParseNodeShapes(
        absl::string_view shapes_str,
        std::vector<std::optional<std::vector<int>>>& shapes_vector);
    
    // Parses names from the given string into the names_vector.
    // NOTE: If names_str is empty, names_vector will also be empty.
    Status ParseNodeNames(absl::string_view names_str,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

        expectContents();
      }
    
      // retainAll(null)
    
      /*
       * AbstractCollection fails the retainAll(null) test when the subject
       * collection is empty, but we'd still like to test retainAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/cc_op_gen_util.cc

                            std::unordered_map<string, string>* inferred_attrs) {
      if (!arg.type_attr().empty()) {
        gtl::InsertIfNotPresent(inferred_attrs, arg.type_attr(), arg.name());
      } else if (!arg.type_list_attr().empty()) {
        gtl::InsertIfNotPresent(inferred_attrs, arg.type_list_attr(), arg.name());
      }
      if (!arg.number_attr().empty()) {
        gtl::InsertIfNotPresent(inferred_attrs, arg.number_attr(), arg.name());
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
Back to top