Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,055 for true (0.18 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public Enum<?> implicitlyBoundedEnum(Enum<?> e) {
          return isSubtype(e);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public Enum<?> explicitlyBoundedEnumIsSubtypeOfImplicitlyBoundedEnum(
            Enum<? extends Enum<?>> obj) {
          return isSubtype(obj);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/TraverserUtilTest.java

            assertThat(set.size() > 0, is(true));
            assertThat(set.contains(DummyTest.class.getName()), is(true));
            assertThat(set.contains(TraverserUtilTest.class.getName()), is(true));
            assertThat(set.contains(TestCase.class.getName()), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testFromClass_JarFile() throws Exception {
    Java
    - Registered: Fri Apr 19 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

            } else if (Artifact.SCOPE_RUNTIME_PLUS_SYSTEM.equals(scope)) {
                systemScope = true;
                compileScope = true;
                runtimeScope = true;
            } else if (Artifact.SCOPE_TEST.equals(scope)) {
                systemScope = true;
                providedScope = true;
                compileScope = true;
                runtimeScope = true;
                testScope = true;
            }
        }
    
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              latch.await();
              return;
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

            assertThat(ObjectUtil.equals(null, ""), is(false));
            assertThat(ObjectUtil.equals("", null), is(false));
            assertThat(ObjectUtil.equals("", ""), is(true));
            assertThat(ObjectUtil.equals(Boolean.TRUE, null), is(false));
            assertThat(ObjectUtil.equals(Boolean.TRUE, "true"), is(false));
            assertThat(ObjectUtil.equals(Boolean.TRUE, Boolean.TRUE), is(true));
    Java
    - Registered: Fri Apr 19 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
                         */
                        log.debug("Disconnect tree on NT_STATUS_NETWORK_NAME_DELETED");
                        treeDisconnect(true, true);
                    }
                    throw se;
                }
            }
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.contains(new Object[] { "1" }, "1"), is(true));
            assertThat(ArrayUtil.contains(new Object[] { "1" }, "2"), is(not(true)));
            assertThat(ArrayUtil.contains(new Object[] { "2", "1" }, "1"), is(true));
            assertThat(ArrayUtil.contains((Object[]) null, "1"), is(not(true)));
            assertThat(ArrayUtil.contains((Object[]) null, null), is(not(true)));
    Java
    - Registered: Fri Apr 19 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/GraphsTest.java

        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(true).build();
        directedGraph.putEdge(N1, N3);
        directedGraph.putEdge(N3, N1);
        directedGraph.putEdge(N1, N2);
        directedGraph.putEdge(N1, N1);
        directedGraph.putEdge(N3, N4);
    
        MutableGraph<Integer> expectedTranspose = GraphBuilder.directed().allowsSelfLoops(true).build();
        expectedTranspose.putEdge(N3, N1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ConcurrencyTest.java

             */
            @Override
            public void run () {
                try ( SmbFileOutputStream out = this.file.openOutputStream(true, SmbConstants.FILE_NO_SHARE) ) {
                    out.write(0xAA);
                    this.writeCount.incrementAndGet();
                    this.completed = true;
                }
                catch ( IOException e ) {
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

                    fields.add(new DERTaggedObject(true, 2, new DEROctetString(mechanismToken)));
                }
                byte[] mechanismListMIC = getMechanismListMIC();
                if ( mechanismListMIC != null ) {
                    fields.add(new DERTaggedObject(true, 3, new DEROctetString(mechanismListMIC)));
                }
                der.writeObject(new DERTaggedObject(true, 1, new DERSequence(fields)));
                return collector.toByteArray();
    Java
    - Registered: Sun Apr 21 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
Back to top