Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 2,060 for Results (0.13 seconds)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testToString() {
                String result = smbInfoAllocation.toString();
    
                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation"));
                assertTrue(result.contains("alloc="));
                assertTrue(result.contains("free="));
                assertTrue(result.contains("sectPerAlloc="));
                assertTrue(result.contains("bytesPerSect="));
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + tagClass
        result = 31 * result + tag.toInt()
        result = 31 * result + (if (constructed) 0 else 1)
        result = 31 * result + length.toInt()
        result = 31 * result + bytes.hashCode()
        return result
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

        }
    
        private boolean determineArchMatch(String expectedArch, String actualArch) {
            String test = expectedArch.toLowerCase(Locale.ENGLISH);
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = actualArch.equals(test);
    
            return reverse ? !result : result;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/BuildPluginIT.java

        }
    
        public void testLicenseAndNotice() throws IOException {
            BuildResult result = getGradleRunner().withArguments("clean", "assemble").build();
            assertTaskSuccessful(result, ":assemble");
            assertBuildFileExists(result, projectName(), "distributions/elasticsearch.build.jar");
            try (ZipFile zipFile = new ZipFile(new File(getBuildDir(projectName()), "distributions/elasticsearch.build.jar"))) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(future, callback, directExecutor());
        future.set(result);
        assertThat(future.get()).isEqualTo(result);
        assertThat(successCalls[0]).isEqualTo(1);
        assertThat(failureCalls[0]).isEqualTo(0);
      }
    
      public void testOnSuccessThrowsError() throws Exception {
        SomeError error = new SomeError();
        String result = "result";
        SettableFuture<String> future = SettableFuture.create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

         * 2. The client thread is interrupted sometime before the result would be
         *   available.
         * 3. We expect the client's get() to throw an InterruptedException.
         * 4. We expect the client thread's interrupt state to be false.
         * 5. The client thread again makes a blocking call to get().
         * 6. Now the result becomes available.
         * 7. We expect get() to return this result.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        }
    
        @Test
        public void testSetSettingsIndexName() {
            // Test setting index name with lowercase conversion
            SuggestSettingsBuilder result = builder.setSettingsIndexName("TEST_INDEX");
            assertEquals(builder, result); // Test method chaining
            assertEquals("test_index", builder.settingsIndexName);
    
            // Test setting index name with mixed case
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            int result = smbComQueryInformation.readParameterWordsWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
        public void testReadBytesWireFormat() {
            // This method is expected to do nothing and return 0
            int result = smbComQueryInformation.readBytesWireFormat(new byte[0], 0);
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. cmd/healthcheck-handler.go

    		DeploymentType: r.Form.Get("deployment-type"),
    	}
    	result := objLayer.Health(ctx, opts)
    	w.Header().Set(xhttp.MinIOWriteQuorum, strconv.Itoa(result.WriteQuorum))
    	w.Header().Set(xhttp.MinIOStorageClassDefaults, strconv.FormatBool(result.UsingDefaults))
    	// return how many drives are being healed if any
    	if result.HealingDrives > 0 {
    		w.Header().Set(xhttp.MinIOHealingDrives, strconv.Itoa(result.HealingDrives))
    	}
    	if !result.Healthy {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 26 07:44:34 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            // Test with various locales
            OptionalThing<String> result = provider.determineAlias(Locale.ENGLISH);
            assertFalse(result.isPresent());
    
            result = provider.determineAlias(Locale.JAPANESE);
            assertFalse(result.isPresent());
    
            result = provider.determineAlias(Locale.GERMAN);
            assertFalse(result.isPresent());
    
            result = provider.determineAlias(null);
            assertFalse(result.isPresent());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
Back to Top