Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 992 for isEmpty (0.04 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          maxElements: Int,
        ) = error("unsupported")
      }
    
      /** Returns true if no tasks have been scheduled. This runs the coordinator for confirmation. */
      fun isIdle() = taskRunner.activeQueues().isEmpty()
    
      override fun close() {
        tasksExecutor.shutdownNow()
      }
    
      companion object {
        var instance = 0
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public String getClassifier() {
            return classifier;
        }
    
        @Override
        public boolean hasClassifier() {
            return classifier != null && !classifier.isEmpty();
        }
    
        @Override
        public String getScope() {
            return scope;
        }
    
        @Override
        public String getGroupId() {
            return groupId;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

                return result;
            }
    
            // second try, refetch all (possibly outdated) metadata that wasn't updated in the first attempt
    
            if (!request.getRepositorySession().isOffline() && !requests.isEmpty()) {
                DefaultRepositorySystemSession session = new DefaultRepositorySystemSession(request.getRepositorySession());
                session.setUpdatePolicy(RepositoryPolicy.UPDATE_POLICY_ALWAYS);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 17 13:14:10 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. cmd/net_test.go

    	}{
    		{set.CreateStringSet("127.0.0.1")},
    	}
    
    	for _, testCase := range testCases {
    		ipList := mustGetLocalIP4()
    		if testCase.expectedIPList != nil && testCase.expectedIPList.Intersection(ipList).IsEmpty() {
    			t.Fatalf("host: expected = %v, got = %v", testCase.expectedIPList, ipList)
    		}
    	}
    }
    
    func TestGetHostIP(t *testing.T) {
    	testCases := []struct {
    		host           string
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. internal/event/target/webhook.go

    	ClientKey  string          `json:"clientKey"`
    }
    
    // Validate WebhookArgs fields
    func (w WebhookArgs) Validate() error {
    	if !w.Enable {
    		return nil
    	}
    	if w.Endpoint.IsEmpty() {
    		return errors.New("endpoint empty")
    	}
    	if w.QueueDir != "" {
    		if !filepath.IsAbs(w.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            assertNotNull(encData.getUserAuthorizations());
            // Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case
            assertTrue(encData.getUserAuthorizations().isEmpty());
        }
    
        /**
         * Test constructor with a malformed token.
         */
        @Test
        void testConstructorMalformed() {
            byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

         * @param paramMap The parameters.
         * @return The converted value.
         */
        protected Object convertValue(final String scriptType, final String template, final Map<String, Object> paramMap) {
            if (StringUtil.isEmpty(template)) {
                return StringUtil.EMPTY;
            }
    
            if (paramMap.containsKey(template)) {
                return paramMap.get(template);
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         */
        public boolean isForking() {
            return (getExecuteGoal() != null && !getExecuteGoal().isEmpty())
                    || (getExecutePhase() != null && !getExecutePhase().isEmpty());
        }
    
        public boolean isV4Api() {
            return v4Api;
        }
    
        /**
         * Creates a shallow copy of this mojo descriptor.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

            final ListResultBean<DataConfig> list = dataConfigBhv.selectList(cb -> {
                cb.query().setName_Equal(name);
                cb.query().addOrderBy_SortOrder_Asc();
            });
            if (list.isEmpty()) {
                return OptionalEntity.empty();
            }
            return OptionalEntity.of(list.get(0));
        }
    
        /**
         * Stores (inserts or updates) a data configuration.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) ((List<?>) value).stream().filter(s -> s != null).map(Object::toString).toArray(n -> new String[n]);
                }
    
                if (((List<?>) value).isEmpty()) {
                    return null;
                }
    
                return convertObj(((List<?>) value).get(0), clazz);
            }
            if (value instanceof String[]) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top