This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Licensed to the Apache Software Foundation (ASF) under one or more | |
| * contributor license agreements. See the NOTICE file distributed with | |
| * this work for additional information regarding copyright ownership. | |
| * The ASF licenses this file to You under the Apache License, Version 2.0 | |
| * (the "License"); you may not use this file except in compliance with | |
| * the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static class A { | |
| private Set<Integer> t; | |
| public boolean f(int val) { | |
| Set<Integer> a = t; | |
| return a != null && a.contains(val); | |
| } | |
| public void checkT(int val) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List; | |
| import org.apache.ignite.IgniteCheckedException; | |
| import org.apache.ignite.cache.query.TextQuery; | |
| import org.apache.ignite.configuration.CacheConfiguration; | |
| import org.apache.ignite.configuration.IgniteConfiguration; | |
| import org.apache.ignite.internal.IgniteEx; | |
| import org.apache.ignite.testframework.junits.common.GridCommonAbstractTest; | |
| import org.junit.Test; | |
| public class GridCacheStringValueLuceneTest extends GridCommonAbstractTest { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # pylint: disable=C0415 | |
| def debug(): | |
| """ | |
| Useful start point for debugging | |
| Be sure ducktape cluster is up (use 'ducker-ignite up' command) | |
| """ | |
| import os | |
| import sys | |
| from ducktape.command_line import main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import random | |
| import unittest | |
| class GameException(Exception): | |
| def __init__(self, message): | |
| self.message = message | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package cars; | |
| import com.google.common.collect.Lists; | |
| import com.google.common.collect.Maps; | |
| import com.google.common.primitives.Ints; | |
| import java.util.*; | |
| public class CarsRegion { |