Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3651 - 3660 of 4,556 for true (0.03 seconds)

  1. src/main/java/jcifs/smb/SID.java

        /**
         * Checks whether the SID is blank (all sub-authorities zero).
         *
         * @return whether the SID is blank (all sub-authorities zero)
         */
        public boolean isBlank() {
            boolean blank = true;
            for (final int sub : this.sub_authority) {
                blank = blank && sub == 0;
            }
            return blank;
        }
    
        /**
         *
         * @return domain SID
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt

      fun assertFailure(vararg allowedExceptionTypes: Class<*>) =
        apply {
          var found = false
          for (expectedClass in allowedExceptionTypes) {
            if (expectedClass.isInstance(failure)) {
              found = true
              break
            }
          }
          assertThat(
            found,
            "Expected exception type among ${allowedExceptionTypes.contentToString()}, got $failure",
          ).isTrue()
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

    import org.junit.jupiter.api.Test;
    import org.opensearch.common.SetOnce;
    
    public class WebConfigTest extends UnitFessTestCase {
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        @Test
        public void test_initializeClientFactory() {
            final Map<String, String> systemPropMap = new HashMap<>();
            FessProp.propMap.clear();
    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)
  4. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        @Mock
        private SmbTransport transport;
    
        @Mock
        private SmbTree tree;
    
        @BeforeEach
        void resetMocks() {
            Mockito.reset(session, transport, tree);
        }
    
        // Happy path: isInUse returns the mocked state
        @ParameterizedTest
        @DisplayName("isInUse reflects current mocked state")
        @ValueSource(booleans = { true, false })
        void isInUse_variants(boolean inUse) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                // Test that constructor is accessible when made accessible
                constructor.setAccessible(true);
                WebApiUtil instance = constructor.newInstance();
                assertNotNull(instance);
    
            } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

                .isEqualTo(hasEdge);
          }
        }
      }
    
      @Test
      public void directedGraph() {
        graph = ValueGraphBuilder.directed().allowsSelfLoops(true).build();
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB");
        graph.putEdgeValue(2, 3, "valueC");
        graph.putEdgeValue(4, 4, "valueD");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
      public void testNewDataOutput_writeBoolean() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeBoolean(true);
        out.writeBoolean(false);
        byte[] expected = {(byte) 1, (byte) 0};
        assertThat(out.toByteArray()).isEqualTo(expected);
      }
    
      public void testNewDataOutput_writeChar() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
  8. cmd/background-newdisks-heal-ops.go

    		t, err := loadHealingTracker(ctx, disk)
    		if err != nil {
    			if !errors.Is(err, errFileNotFound) {
    				healingLogIf(ctx, err)
    			}
    			continue
    		}
    		if t.HealID == tracker.HealID {
    			t.Finished = true
    			t.update(ctx)
    		}
    	}
    
    	return nil
    }
    
    // monitorLocalDisksAndHeal - ensures that detected new disks are healed
    //  1. Only the concerned erasure set will be listed and healed
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. src/bufio/scan_test.go

    	tmp := new(bytes.Buffer)
    	buf := new(bytes.Buffer)
    	lineNum := 0
    	j := 0
    	for i := 0; i < 2*smallMaxTokenSize; i++ {
    		genLine(tmp, lineNum, j, true)
    		if j < smallMaxTokenSize {
    			j++
    		} else {
    			j--
    		}
    		buf.Write(tmp.Bytes())
    		lineNum++
    	}
    	s := NewScanner(&slowReader{1, buf})
    	s.Split(ScanLines)
    	s.MaxTokenSize(smallMaxTokenSize)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            });
    
            return asJson(new ApiUpdateResponse().id(fileConfig.getId()).created(true).status(Status.OK).result());
        }
    
        // PUT /api/admin/fileconfig/setting
        /**
         * Updates an existing file configuration setting.
         *
         * @param body file configuration setting data to update
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top