Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1091 - 1100 of 2,189 for else_ (0.07 seconds)

  1. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
                Integer expectedValue = null;
                if (range1.contains(i)) {
                  expectedValue = 1;
                } else if (range2.contains(i)) {
                  expectedValue = 2;
                }
    
                assertEquals(expectedValue, rangeMap.get(i));
              }
            }
          }
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. cmd/admin-handlers-idp-openid.go

    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    			Claims:          cred.Claims,
    		}) {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    			return
    		}
    	} else if len(userList) == 1 && userList[0] == cred.ParentUser {
    		selfOnly = true
    	}
    
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Sep 06 17:38:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  3. cmd/bitrot-streaming.go

    }
    
    func (b *streamingBitrotWriter) Close() error {
    	// Close the underlying writer.
    	// This will also flush the ring buffer if used.
    	err := b.iow.Close()
    
    	// Wait for all data to be written before returning else it causes race conditions.
    	// Race condition is because of io.PipeWriter implementation. i.e consider the following
    	// sequent of operations:
    	// 1) pipe.Write()
    	// 2) pipe.Close()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jan 17 19:19:30 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

                    logger.warn("Invalid exclude pattern: {}", urlPattern);
                }
                return;
            }
            if (sessionId == null) {
                cachedExcludeSet.add(urlPattern);
            } else {
                getUrlFilterService().addExcludeUrlFilter(sessionId, urlPattern);
            }
        }
    
        /*
         * (non-Javadoc)
         *
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. tensorflow/api_template.__init__.py

    _current_module.__path__ = [_module_dir] + _current_module.__path__
    if _tf_uses_legacy_keras:
      _module_dir = _module_util.get_parent_dir_for_name("tf_keras.api._v2.keras")
    else:
      _module_dir = _module_util.get_parent_dir_for_name("keras.api._v2.keras")
    _current_module.__path__ = [_module_dir] + _current_module.__path__
    
    
    # Enable TF2 behaviors
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  6. tests/main_test.go

    		t.Errorf("No user should not be deleted by invalid SQL")
    	}
    }
    
    func TestSetAndGet(t *testing.T) {
    	if value, ok := DB.Set("hello", "world").Get("hello"); !ok {
    		t.Errorf("Should be able to get setting after set")
    	} else if value.(string) != "world" {
    		t.Errorf("Set value should not be changed")
    	}
    
    	if _, ok := DB.Get("non_existing"); ok {
    		t.Errorf("Get non existing key should return error")
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 24 01:31:58 GMT 2022
    - 1.4K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

        val customValues =
            if (testCoverage != null) {
                listOf(testCoverage.asBuildScanCustomValue()) + getBuildScanCustomValues()
            } else {
                getBuildScanCustomValues()
            }
        return "-DbuildScan.PartOf=${customValues.joinToString(",")}"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 10 05:45:46 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v2.go

    		return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4])
    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    		// Set as 1,0.
    		major, minor = 1, 0
    	} else {
    		major, minor = binary.LittleEndian.Uint16(buf[4:6]), binary.LittleEndian.Uint16(buf[6:8])
    	}
    	if major > xlVersionMajor {
    		return buf[8:], major, minor, fmt.Errorf("xlMeta: unknown major version %d found", major)
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 65.6K bytes
    - Click Count (1)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            final MavenSession mss;
            if (repoSession != ms.getRepositorySession()) {
                mss = new MavenSession(repoSession, ms.getRequest(), ms.getResult());
            } else {
                mss = ms;
            }
            return newSession(mss, repositories);
        }
    
        protected Session newSession(MavenSession mavenSession, List<RemoteRepository> repositories) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

      RegularImmutableMultiset() {}
    
      static <E> ImmutableMultiset<E> create(Collection<? extends Entry<? extends E>> entries) {
        if (entries.isEmpty()) {
          return ImmutableMultiset.of();
        } else {
          return JdkBackedImmutableMultiset.create(entries);
        }
      }
    
      @Override
      public int count(@Nullable Object element) {
        throw new AssertionError();
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 1.6K bytes
    - Click Count (0)
Back to Top