Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3331 - 3340 of 3,432 for NULL (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          @SuppressWarnings("unchecked")
          Entry<?, @Nullable Object> nullableValueEntry = (Entry<?, @Nullable Object>) entry;
          nullableValueEntry.setValue(null);
          fail("setValue on unmodifiable Map.Entry succeeded");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      /**
       * Verifies that an Iterator is unmodifiable.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. callbacks/create.go

    						if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) {
    							if !field.PrimaryKey && (!field.HasDefaultValue || field.DefaultValueInterface != nil ||
    								strings.EqualFold(field.DefaultValue, "NULL")) && field.AutoCreateTime == 0 {
    								if field.AutoUpdateTime > 0 {
    									assignment := clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: curTime}
    									switch field.AutoUpdateTime {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

        for (long candidate : roundToDoubleTestCandidates) {
          Double expectedDouble = null;
          try {
            expectedDouble = BigIntegerMath.roundToDouble(BigInteger.valueOf(candidate), UNNECESSARY);
          } catch (ArithmeticException expected) {
            // do nothing
          }
    
          if (expectedDouble != null) {
            assertThat(LongMath.roundToDouble(candidate, UNNECESSARY)).isEqualTo(expectedDouble);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

            new FreshValueGenerator().generateFresh(String.class),
            new FreshValueGenerator().generateFresh(Object.class));
      }
    
      public void testEnums() {
        assertEqualInstance(EmptyEnum.class, null);
        assertEqualInstance(OneConstantEnum.class, OneConstantEnum.CONSTANT1);
        assertFreshInstance(TwoConstantEnum.class, 2);
        assertFreshInstance(new TypeToken<com.google.common.base.Optional<OneConstantEnum>>() {}, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ClosingFuture.java

            closeQuietly(entry.getKey(), entry.getValue());
          }
          clear();
          if (whenClosed != null) {
            whenClosed.countDown();
          }
        }
    
        void add(@Nullable AutoCloseable closeable, Executor executor) {
          checkNotNull(executor);
          if (closeable == null) {
            return;
          }
          synchronized (this) {
            if (!closed) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

                                .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.joining("\n")));
                        form.name = null;
                    });
                    form.crudMode = CrudMode.CREATE;
                });
            }).renderWith(data -> {
                registerRolesAndLabels(data);
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          entry.setValue(3);
          assertEquals(1, cache.size());
          assertEquals(3, cache.getIfPresent(1));
          checkValidState(cache);
    
          assertThrows(NullPointerException.class, () -> entry.setValue(null));
          checkValidState(cache);
        }
      }
    
      /* ---------------- Local utilities -------------- */
    
      /** Most of the tests in this class run against every one of these caches. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
        mmHeap.addAll(Lists.newArrayList(1, 1, 2));
        assertEquals(3, mmHeap.size());
        assertFalse("Heap does not contain null", mmHeap.contains(null));
        assertFalse("Heap does not contain 3", mmHeap.contains(3));
        assertFalse("Heap does not contain 3", mmHeap.remove(3));
        assertEquals(3, mmHeap.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            @SuppressWarnings("unchecked") // These come from Entry<K, V> objects somewhere.
            K key = (K) elements[i];
    
            Iterator<V> valueItr = valueIterators.get(key);
            if (valueItr == null) {
              valueIterators.put(key, valueItr = sampleValuesIterator());
            }
            entries[i] = mapEntry(key, valueItr.next());
          }
          return multimapGenerator.create((Object[]) entries).keys();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            activityHelper.setEnvMap(testEnv);
            assertEquals(testEnv, activityHelper.getEnvMap());
        }
    
        public void test_getEnvMap_withoutCustomMap() {
            activityHelper.setEnvMap(null);
            Map<String, String> envMap = activityHelper.getEnvMap();
            assertNotNull(envMap);
        }
    
        public void test_init_withDockerEnvironment() {
            Map<String, String> dockerEnv = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 18.7K bytes
    - Viewed (0)
Back to top